socket read timeout

Steve Holden steve at holdenweb.com
Mon Apr 2 10:24:29 EDT 2007


Bryan Olson wrote:
> Steve Holden wrote:
>> Hendrik van Rooyen wrote:
>>> Are sockets full duplex?
>>>
>> Yes. But you have to use non-blocking calls in your application to use 
>> them as full-duplex in your code.
> 
> Hmmm... I'm missing something. Suppose I have one thread (or
> process) reading from a blocking-mode socket while another is
> writing to it? What stops it from being full duplex?
> 
> 
Nothing, I guess. I just didn't consider threaded code ...

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com




More information about the Python-list mailing list