View Single Post
  #1 (permalink)  
Old 08-06-2007, 05:39 AM
mathias mathias is offline
Member
 
Join Date: Jul 2007
Posts: 40
mathias is on a distinguished road
Non Blocking Network
Hi, I am writing some networking code for an application. I setup a socket, then use its input and output streams to send and receive messages from a server. The I am having is that whenever I read from the socket's input stream, it blocks.

In my application, messages must be able to be sent without delay but they cannot because the inputstream is still trying to read in information. Is there anyway around this?
Thanks.
Reply With Quote
Sponsored Links