I read a book, years ago, about Java. One of the last chapters was about how to create connections and send/reveice messages between a computer and a server.
Now I need to create a connection between two computers in the same network (peer to peer, or what is it called). The examples in the book used java.net.MulticastSocket to create a connection to a server. When I try the same with my second computer (connected in same network), I get a UnknownHost-exception.
Does anybody know how to create a connection between two computers in same network?
I would like to know how to send and receive messages/bytes too.