Hi everyone, I’m just now getting into learning network stuff such as sockets etc., and my goal has been to make fun simple little games like pong and lightcycles that play over a network. I don’t know much about networking but I assumed that there would be a way to have one application open on say, a computer at school, that listens for any other instances of it on the network and when the other opens up they connect and play… I’ve already managed to make pong that will connect if I open up two copies of the game on one computer and it works, but not on two computers side by side. After looking at it I realized it must be because the sockets are using “localhost”, which comes straight out of the examples that got me started.
Is it possible to have simple games that just hop onto a local network, like at school, or does it have to be more complex?
If it is possible, how do I find the host name to use?
Thanks for your patience guys, I’m new and there doesn’t seem to be a lot of help online for this as far as I’ve searched around :-\