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 ...
In reply to Re^4: IO::Socket::INET -- Jettero verses non-blocking in windows
by jettero
in thread IO::Socket::INET -- jettero verses non-blocking in windows
by jettero
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |