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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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.