I'm not sure which socket you want to kill:
If it's the listening socket, kill the listening tread.
If its the connetion socket, add your connection treads to a list when you spawn them, so that you can get a reference to the threads object and kill the appropriate thread.

Mikael

On 10/22/06, Lloyd Thomas <[EMAIL PROTECTED]> wrote:
So I have managed to get my app working using the 'echo' demo as a base. But I need to find a way to close the socket/connection with a procedure in the main thread. Any Ideas?
 
Lloyd

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to