P2P = Peer 2 Peer? IM = Instant Messaging? - Right?
Well, I mean a connection between two computers, a connection without a server, so the applications could "talk" by the network. I'm making a game that could be played in multiplayer between computers in same network (without any server). I just want to send messages (bytes of code) between computers.
Example: Computer 1 handles a key press (arrow down) and sends the command to Computer 2. Every single computer computes the command/key press, and draws the new game area with the character owned by Computer 1 (player 1) one square down.
Peer to peer - Yes, maybe you could call this connection that. I mean, there is no server involved.
Instant Messaging - Well, there is a chat function in my game (or will be) and I must be able to send messages, but it's not only a chat program...
I think every computer must be like a server (listen to ports, accept connections etc.), but I don't know how to do it.
I am maybe not good at explaining. Thanks for helping me!