|
-
May 6th, 2006, 04:52 PM
#1
Thread Starter
Lively Member
Connections using winsock
okok.. now ive downloaded and edited a prog a bit just to test out methods of connection.. anyway. i am using a basic server/client winsock program, each havin their own projects. i compiled both, sent the client one to my friend.
i ran the server app, chose a random port (3888) and waited. i told him my port and the real ip (using whatsmyip.com) but he couldnt connected. i tried running client app as well and couldnt connect. so i used my router IP and it connected. he tried my router IP and couldnt connect.
SO, the question is, using my real IP, when I am using a router, do i need to add anything else to my ip? for instance, if im the 3rd computer on the router, is it supposed to be something liek..
xx.xxx.xx.xxx:3 or
xx.xxx.xx.xxx.3 or
xx.xxx.xx.xxx3 or what?
or, since most router IPs seem to end in 100, is this comps IP blah.blah.blah.103?
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
|