|
-
March 6th, 2010, 09:47 AM
#1
TCP Client Server issue
Hi, I've got two programs (client and server) using sockets. The program are working fine if I set the client IP to local host (127.0.0.1) or the LAN IP (192.168.0.3), but can't connect if the IP is set to external Internet IP (92.24.xxx.xxx).
Anyone have an ideea, please?
Thanks!
-
March 6th, 2010, 06:42 PM
#2
Re: TCP Client Server issue
Well, it sounds that something is wrong at least in one of these two programs.
And if you'd like to get some more useful help - post a bit more useful description about these programs and a problem you have...
Victor Nijegorodov
-
March 6th, 2010, 07:00 PM
#3
Re: TCP Client Server issue
One of the several code I've tried can by found here: http://johnnie.jerrata.com/winsocktutorial/ and the error I get is: "Call to gethostbyaddr()returned error11004!". I've tried to use the server with another client (and the other way around) and I've got the same problem... If I set the client on LAN IP or local IP Ican send and receive the message without any errors, but with external IP doesn't work. Even with firewall turned OFF. If I ping my external IP everything is fine....
-
March 6th, 2010, 07:03 PM
#4
Re: TCP Client Server issue
And ... ???
Victor Nijegorodov
-
March 7th, 2010, 04:52 AM
#5
Re: TCP Client Server issue
...and that means I can't connect to another computer...
-
March 7th, 2010, 01:23 PM
#6
Re: TCP Client Server issue SOLVED
Wrong settings on the router...
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|