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?
Re: Connections using winsock
You will probably need to forward that port you are wanting to use to the appropriate lan ip. I know I can do that here on the same computer , but external ip's will need to be forwarded.
Re: Connections using winsock
umm I agree with the above, I had to do the same thing, Also may want to check your firewall settings or also as your m8 as that may also be blocking it, I know the XP fire wall blocks out most things if turn on.