• What is the official way of ending a recvfrom?

    From saurabh.bhoy910@gmail.com@21:1/5 to BMG Support at on Fri Aug 9 02:05:51 2019
    On Friday, August 27, 2004 at 6:25:36 AM UTC+5:30, BMG Support at wrote:
    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.


    --
    Roger

    Hi all,
    You can set a timeout for the socket, it will terminate recvfrom after the specified time
    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)