ErrorCode = 10048

Drstein99

Junior Contributor
Joined
Sep 26, 2003
Messages
283
Location
Audubon, Nj
I'm new to programming with tcp/ip and socket connections

I'm trying to connect to another computer and it returns "10048" as a socket acception when i do tcplistener.start


-----

I can trap the error on the start of the client computer.... but how do i resolve this issue? is the port stuck open on my "host" computer or something?
 
PlausiblyDamp said:
what port are you trying to listen on? The error generally indicates something else is already using that port.

I'm writing a test chat application. Thing is, i can start and stop the application fine. when I try to re/start i get the error.

port 3325
 
Drstein99 said:
Under "state" it asys "close_wait"

when i issue:

TcpListener.Stop()

i want to simply stop listening for messages. its when i re/issue the TcpListener.Start() is when the problem occurs.
 
Back
Top