954,505 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Server/Client timeout error

I'm trying to make a simple IM program. I created a server and client that connects specifically to my computer using Winsock2.h

I tested it and it works from my computer to my server, from my roommates computer to my server, the library computer to my server, but I had a friend in a different town test it and I keep getting 10061 timeout error.

I was thinking it was a firewall problem from my internet provide server, but I don't know, and I was hoping if someone could tell me what is preventing the connection, and if possible if I could get around it in my program or if I have to talk to a network technician to get it allowed.

thanks

zacory
Newbie Poster
12 posts since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

If you're sure that there's no firewalls interfering, then the ISP is blocking something. What port are you trying to run it on?

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

I'm using the 4000 port and also tried 4222.

zacory
Newbie Poster
12 posts since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

MSN works between you and your friend, right? Try running the program on port 1863 (I think...)

John A
Vampirical Lurker
Team Colleague
7,630 posts since Apr 2006
Reputation Points: 2,240
Solved Threads: 339
 

No, it still didn't work.

I'm more of wondering if there is something I should be, I don't know, "registring" to my isp's server telling it that I'm not a virus.

zacory
Newbie Poster
12 posts since Feb 2006
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You