in reply to Re^9: Non closing sockets - threads
in thread Non closing sockets - threads
It's working, but both clients (localhost and gprs) executes cmdClient, gprsClient is not used.
Correction - it is all correct!
I'll do some tests now
Gprs clients perfectly connects to the server and keep sending data.
Localhost client does not execute commands and just closes itself, even if there are some gprs clients connected.
If there is no connection, for I guess 500 sec, server closes itself.
And at last, on clients abnormal disconnection, threads remain connected.
Servers echo:
If you have some more suggestions, I would really appreciate!gprsClient [4227801339] running on 4 4227801339: Command response: data test gprsClient [4227801339] running on 5 4227801339: Command response: data second client gprsClient [4227801339] running on 6 4227801339: Command response: data third client Command Client running on 7 cmdClient [859189299] disconnected
Regards, Igor
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^11: Non closing sockets - threads
by BrowserUk (Patriarch) on Dec 17, 2008 at 19:41 UTC |