|
-
March 1st, 2008, 01:10 PM
#17
Re: Socket's won't work remotely.
I believe that my IP's are private IP addresses. My server does not have two NICs. Both computers on the Local Network share the same IP address. Even if I have both the client and server program running on the same machine, it still doesn't work. Here is the exact output on both the server and client when I use my IP address (both client and server on the same machine):
Client:
Code:
Welcome
Commands:
c - Connect to computer
l - List commands
e - Exit Program
Command: c
Enter user's IP Address: 68.60.14X.XX
Enter port # to connect to: 6980
Connected to 68.60.14X.XX:6980
Socket initialized
Connect failed, error: 10060
Command:
10060 is a timeout error
Here is the server output:
Code:
Socket intialized...
Socket unbound...
Bind works...
Listen works...
Waiting for client...
Last error... (0)
And it just stays at that. When I try doing it with two separate computers on the same network sharing the same IP address, I get a 10061 error, connection forcefully rejected.
once again, I am trying to get this to work very much like a webserver where anyone can connect from a computer NOT on the local network and access information.
Last edited by tophat; March 2nd, 2008 at 10:44 AM.
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
|