What are socket exceptions? What is out-of-band data?
Answer Posted / chaitanya
Unlike exceptions in C++, socket exceptions do not indicate that an error has occured. Socket exceptions usually refer to the notification that out-of-band data has arrived. Out-of-band data (called "urgent data" in TCP) looks to the application like a separate stream of data from the main data stream. This can be useful for separating two different kinds of data. Note that just because it is called "urgent data" does not mean that it will be delivered any faster, or with higher priorety than data in the in-band data stream. Also beware that unlike the main data stream, the out-of-bound data may be lost if your application can't keep up with it.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is active unix domain sockets?
Why do I get EPROTO from read()?
What is a socket set used for?
Can multiple sockets use the same port?
What is the difference between read() and recv()?
What is a socket file?
What's the difference between impact sockets and regular sockets?
Is tcp or unix socket faster?
Is socket a hardware or software?
Why does the sockets buffer fill up sooner than expected?
Why does it take so long to detect that the peer died?
Can a single socket port be used for multiple applications?
How many socket connections can a server handle?
Can multiple clients connect to same socket?
How is a socket created?