Restored from previous forum. Originally posted by pbdep.
Originally posted by waffle
because of the way fred set up networking code,
lean and mean, you have to check for that yourself by "pinging"
the server from time to time. I generally do that whenever no messages have been received for say 5 seconds. If after say 10 pings without a "pong", assume a disconnect.
Hello Waffle,
I cant emagine that Fred does not want good IO checking, when
implementing it for the server it must be there for Client as well.
Its not-done to think that Socket traffic is controlled by
a ping

The Data that goes to the remote is already the check!
and remote session hunup should be checked! Weather using PB Network connection for MultiGaming of Real Utils it must the there.
I did a lot!! I meen realy a lot of socket programming
and I miss this part of the code.
There are only 3 important IP/TCP network parts missing right now
in PureBasic.
* Get incoming client ip address
* Get incoming client ip port
* Check remote-hungup on client send connection (Case 4)
When Fred implements the Above (and that realy not difficult)
then PB can compete with C /TCL / Rebol or other Basic languages.
Anyway I realy hope Fred puts his mind over it, I can asure him
that a good Network Library will bring more people towards PB!
And will for sure give PB a professional look!
Thanks, Greetings..Norman.