Results 1 to 3 of 3

Thread: Connections using winsock

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2005
    Posts
    92

    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?

  2. #2
    Member
    Join Date
    Mar 2006
    Posts
    33

    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.

  3. #3
    Hyperactive Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    417

    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.
    When your dreams come true.
    On error resume pulling hair out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width