hey guys, thanx for the tips, i've learned a lot from this site... but im confused now.......
wat do u mean by
Quote:
it is possible.
Here's how you modifly your 2 people chat:
client preaty much stays the same.
host - replace client variable with an array. As soon as you get a connection, increase the counter and listed for the next connection. Listening should be done in a fork so it doesnt stop the server from running.
The structure should be:
client sends message to host - host farwards message to all other online clients.
You'd have to be coumfortable using arrays and keep track of all the different connections.
??????????
can someone please explain this concept to me....thanx