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 |
over the socket? Is there a way to have a dynamic buffer? What does one do when one does not know how much information is coming?
What is a deep well socket?
How often should I re-transmit un-acknowleged messages?
When should I use shutdown()?
How can I set the timeout for the connect() system call?
Why sockets are used?
How can I find the full hostname (FQDN) of the system I am running on?
How can I put a timeout on connect()?
What are the pros/cons of select(), non-blocking I/O and SIGIO?
What is a socket connection?
When should I use UDP instead of TCP?
What is LILO?