in reply to Re^3: IO::Socket::INET -- Jettero verses non-blocking in windows
in thread IO::Socket::INET -- jettero verses non-blocking in windows
Your method really does work, so I'm closer. I just don't know how to find the sender IP. Thanks a lot BTW.
But, what I was actually asking is about how to find the sender IP. Check out the recv() I posted above.
UDP doesn't really connect, so the source IP on each packet can be different. recv() returns some packet header info from which I can get the ip addr of the sender.
Sysread doesn't do that at all. And the worse part is, the perldoc page for select() tells me that mixing your vec/select call with recv() is stupid and I'll get burnt.
So I'm not sure what to do ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: IO::Socket::INET -- Jettero verses non-blocking in windows
by tachyon (Chancellor) on Jul 30, 2004 at 16:14 UTC | |
by jettero (Monsignor) on Jul 30, 2004 at 16:24 UTC | |
by tachyon (Chancellor) on Jul 30, 2004 at 16:26 UTC |