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


Please Help Members By Posting Answers For Below Questions

What's better 6pt or 12pt sockets?

481


How to find other end of unix socket connection?

515


What is the difference between read() and recv()?

1597


How does a socket work?

491


Why does the sockets buffer fill up sooner than expected?

997






What is a socket file?

512


How do I convert a string into an internet address?

910


What exactly is a socket?

526


Can multiple clients connect to same socket?

518


How many socket connections can a server handle?

471


How do I use TCP_NODELAY?

1111


What is socket address?

573


What is sae socket?

440


How is a socket created?

509


What are the types of sockets?

494