Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 can I find the full hostname (FQDN) of the system I am running on?

1 Answers  


What does af mean in sockets?

0 Answers  


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

0 Answers  


Where is the socket located?

0 Answers  


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

1 Answers  


How can I bind() to a port number < 1024?

1 Answers  


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

0 Answers  


How can I tell when a socket is closed on the other end?

0 Answers  


What is the difference between a socket and a port?

0 Answers  


How would I put my socket in non-blocking mode?

1 Answers  


Why does the sockets buffer fill up sooner than expected?

0 Answers  


Why do I get EPROTO from read()?

0 Answers  


Categories