Skip to Content.
Sympa Menu

thrulay-users - Re: [thrulay] select() and blocking sockets?

Subject: Discussion list for thrulay, a network testing tool

List archive

Re: [thrulay] select() and blocking sockets?


Chronological Thread 
  • From: Daniel Schaffrath <>
  • To: Federico Montesino Pouzols <>
  • Cc:
  • Subject: Re: [thrulay] select() and blocking sockets?
  • Date: Mon, 30 Apr 2007 14:42:45 +0200


On 2007/04/28 , at 14:46, Federico Montesino Pouzols wrote:

What source version are you looking at? *_exactly functions are not
supposed to be used inside select() loops.
The current (?) version 0.8 from http://shlang.com/thrulay/

See line 938 or 962 thrulay.c

While in these loops,
sockets are set to non-blocking
Yes. Actually I was expecting this. In the meantime I figured out they are not! I mixed that up with the daemon code. For the client this is missing.

and only single recv and send calls
are used. If *_exactly functions are called somewhere in select loops
it is probably a bug.
And that's the case - from my understanding. Maybe you can check as well?

Thanks again,
Daniel




Archive powered by MHonArc 2.6.16.

Top of Page