Original Post
Hello,
I am creating a multiplayer game chat system, and i would like to incorporate chat. Now i have some experience with Socket programming, but here's the bit that puzzles me. By the way i am also pretty new to game programming as well so everything i say is an assumption that could be very wrong.
I am wondering, in theory i will use a multiplayer game that could support say 30 players. I am assuming everyone inside this game is a client. How do players chat with other players, if say they selected chat with "this" person, would the message be routed to the server who figures out this person's IP address and Port then routes the message to him?
Does everyone connected to the game have their IP address and Port in some sort of Pool for this game session? So that when players select another player to chat with, their IP address and Port is already determined so the message is directly sent to them?
What is the type of network for a game chat system? For example... P2P, Star, Mesh etc...
On a sort of side note, just for network learning purposes so if anyone knows, what type of network is XFire?, Anyone know how you are able to chat with individual people?
Sorry for all the questions this has just been bugging me lately, thank you for any help.
I am creating a multiplayer game chat system, and i would like to incorporate chat. Now i have some experience with Socket programming, but here's the bit that puzzles me. By the way i am also pretty new to game programming as well so everything i say is an assumption that could be very wrong.
I am wondering, in theory i will use a multiplayer game that could support say 30 players. I am assuming everyone inside this game is a client. How do players chat with other players, if say they selected chat with "this" person, would the message be routed to the server who figures out this person's IP address and Port then routes the message to him?
Does everyone connected to the game have their IP address and Port in some sort of Pool for this game session? So that when players select another player to chat with, their IP address and Port is already determined so the message is directly sent to them?
What is the type of network for a game chat system? For example... P2P, Star, Mesh etc...
On a sort of side note, just for network learning purposes so if anyone knows, what type of network is XFire?, Anyone know how you are able to chat with individual people?
Sorry for all the questions this has just been bugging me lately, thank you for any help.