What are socket exceptions? What is out-of-band data?



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

Post New Answer

More Unix Socket Programming Interview Questions

system choose one for me on the connect() call? Should I bind() a port number in my client program, or let the?

0 Answers  


What are raw sockets?

4 Answers   Axis Technologies,


Why do we need sockets?

0 Answers  


How do I properly close a socket?

1 Answers  


What exactly does SO_REUSEADDR do?

1 Answers  






What is a sae socket?

0 Answers  


How can I force a socket to send the data in its buffer?

0 Answers  


What are the types of sockets?

0 Answers  


What is the difference between close() and shutdown()?

1 Answers  


How many sockets can a port have?

0 Answers  


What is socket programming in java?

0 Answers  


How does a socket work?

0 Answers  


Categories