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

How do I get my server to find out the clients address / host- name?

1 Answers  


How do Sockets Work?

1 Answers  


How do I use TCP_NODELAY?

0 Answers  


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?

1 Answers  


Why do I keep getting EINTR from the socket calls?

1 Answers  






Why sockets are used?

0 Answers  


What is socket address with example?

0 Answers  


How do I get the port number for a given service?

1 Answers  


What is difference between socket () and serversocket () class?

0 Answers  


How is a socket created?

0 Answers  


How can I find the full hostname (FQDN) of the system I am running on?

1 Answers  


Can a single socket port be used for multiple applications?

0 Answers  


Categories