Socket Exception

G

Guest

H

I have a Server aplication made with sockets in VB6 and I also have an client application made in C#. I try to send information between them. The first time can do it, but if I try to do again I get an exception

No connection could be made because the target machine actively refused it

It exactly happens when I try to connect again

Why does it let me only one time

After I use the Send method I close my socket

Regard
J.C.
 
F

Floyd Burger

Did you use Shutdown to close the socket? I've seen cases where the server
wouldn't recognize the disconnect unless the client went through Shutdown.

--

Juan Carlos said:
Hi

I have a Server aplication made with sockets in VB6 and I also have an
client application made in C#. I try to send information between them. The
first time can do it, but if I try to do again I get an exception:
 

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