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

Is a socket a file?

0 Answers  


Are unix sockets faster than tcp?

0 Answers  


Can a socket have multiple ports?

0 Answers  


How many socket connections can a server handle?

0 Answers  


Why does connect() succeed even before my server did an accept()?

1 Answers  






How do I send [this] over a socket?

1 Answers  


How come I get address already in use from bind()?

1 Answers  


Whats the difference between select() and poll()?

0 Answers  


What are the types of sockets?

0 Answers  


How often should I re-transmit un-acknowleged messages?

1 Answers  


Is socket a hardware or software?

0 Answers  


What pieces of information make up a socket?

0 Answers  


Categories