Socket Exception

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
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:
 
Back
Top