Menu

Socket Programming

Ultim
2008-08-12
2012-09-26
  • Ultim

    Ultim - 2008-08-12

    This may be a longshot, but somebody out there may know:
    How do you connect to a computer on its own private network using sockets? Winsock in particular but that shouldn't matter. Basically, if i want to connect to a computer with a local address of 192.168.0.2 but an IP address of 68.3.128.4 (arbitrary IPs). How does one code that?

     
    • Ultim

      Ultim - 2008-08-13

      I'm told the solution to this is via NAT punch-through (which requires a server which is not behind a network itself) or port forwarding. I've only just discovered these concepts myself and do not yet know which is better or the technical parts of how to do either.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.