unknown
2004-08-27 00:55:36 UTC
What is the official way of ending a recvfrom?
How should I stop a thread that is waiting on a
recvfrom. I used to send it a datagram on (via 127.0.0.1)
and then, as it was awake, gracefully close.
As of win XP sp2 this may not work (the firewall stops
my datagram).
Or is the secret not to call recvfrom unless you known
it will not block? if so what should I wait on?
many thanks in advance.
How should I stop a thread that is waiting on a
recvfrom. I used to send it a datagram on (via 127.0.0.1)
and then, as it was awake, gracefully close.
As of win XP sp2 this may not work (the firewall stops
my datagram).
Or is the secret not to call recvfrom unless you known
it will not block? if so what should I wait on?
many thanks in advance.
--
Roger
Roger