I've seen one example that does a GetPeerAddress or something:
basicaly doing a simple operation aznd see if it fails.
I've very new to this stuff, so I have no idea if this is a good
solution or what.
Cheers
Anthony Worrall <Anthony.Worrall@Reading.ac.uk> wrote:
>Hi Poppers
>
>Does anyone know how to tell if a socket conection is closed by the far
>end? Pop does not
>seem to get any signal. The only way I can see is to check if HELP *
>sys_input_waiting
>returns 0 instead of false.
>
>The reason I am doing this is to write a simple HTTP server in poplog.
>Has anyone done
>this allready?
>
>Cheers
|