Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 How to create a multiplayer chat
Index -> Programming, Turing -> Turing Help
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
DanShadow




PostPosted: Tue Jan 20, 2004 8:44 am   Post subject: (No subject)

icemaster...you are bragging, lol. And a good portion of us could figure out how to create a multiplayer chat...but dont have the time, mainly because of Exams and all. But either way, I'd appreciate the code. Very Happy
Sponsor
Sponsor
Sponsor
sponsor
icemaster




PostPosted: Tue Jan 20, 2004 10:59 am   Post subject: (No subject)

i have exams too . . . not to mention an annoying physics exam this friday Shocked Mad
Andy




PostPosted: Tue Jan 20, 2004 11:58 am   Post subject: (No subject)

i dont have exams
rk_rkade




PostPosted: Sun Apr 11, 2004 1:52 pm   Post subject: (No subject)

Embarassed 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 19 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: