What are socket exceptions? What is out-of-band data?
Answer / 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 |
How to find other end of unix socket connection?
How come select says there is data, but read returns zero?
of the socket? Does doing a connect() call affect the receive behaviour?
What is the purpose of socket?
Is tcp or unix socket faster?
When should I use shutdown()?
How can I read ICMP errors from connected UDP sockets?
How should I choose a port number for my server?
Why do we need sockets?
What is Mac, and how is it different from PC? Which one is better for professional users, and why
1 Answers Evolving Systems, IBM,
What is a socket connection?
What are the pros/cons of select(), non-blocking I/O and SIGIO?