Drstein99 Posted September 3, 2004 Posted September 3, 2004 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? Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Administrators PlausiblyDamp Posted September 3, 2004 Administrators Posted September 3, 2004 what port are you trying to listen on? The error generally indicates something else is already using that port. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Drstein99 Posted September 3, 2004 Author Posted September 3, 2004 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 Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Administrators PlausiblyDamp Posted September 3, 2004 Administrators Posted September 3, 2004 If you open a command prompt and type netstat -n -b does it list anything as listening on port 3325? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Drstein99 Posted September 7, 2004 Author Posted September 7, 2004 If you open a command prompt and type netstat -n -b does it list anything as listening on port 3325? Under "state" it asys "close_wait" Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Drstein99 Posted September 7, 2004 Author Posted September 7, 2004 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. Quote www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.