How to close a socket nicely in a multithreaded application

F

Frederick

Hy,

Is there anybody who seems to have working code to close a socket in a
multithreaded application.

When I try to close,shutdown or disconnect the socket, it starts throwing
all kind of exceptions.

Anyone who has experience with this ?

Grz,

Frederick R.
 
I

iwdu15

well what exceptions are you getting? How are you creating the socket and on
what thread? what thread are you trying to close it on? A little more
information would be helpful. Thanks

--Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top