C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-17-2003, 09:43 PM   #1
Registered User
 
Join Date: Jan 2003
Posts: 99
Sockets, Multiple I/O

I am "updating" my chat server from being between only two people who could only send and recieve messages when no activity is going on to mulitple users speaking at one time. It will only need to be for 5 or 10 sockets. I have read around and been recommended to the select() function the most. I am having trouble applying the concepts of the select function. I am aiming this to be for windows 98 and 2k nt4 and up OS's and maybe *nix (hehe very general ). If anyone has a good example or know a link to the select() in C I would like to look over and apply it to my situation, or if you have a good link to the select() function. Thank you in advanced
_Cl0wn_ is offline   Reply With Quote
Old 03-17-2003, 10:01 PM   #2
Registered User
 
Join Date: Jan 2003
Posts: 99
Sorry for the double post. I forgot if my username had the underscores or not . Sorry once again.
_Cl0wn_ is offline   Reply With Quote
Old 03-17-2003, 10:19 PM   #3
+++ OK NO CARRIER
 
quzah's Avatar
 
Join Date: Oct 2001
Posts: 10,640
Try the man page for it.

Pull up your favourite search engine and spend a few minutes, and you should have all you need to get the job done. For example, the link at the bottom of seaid search...

Quzah.
__________________
Hundreds of thousands of dipshits can't be wrong.


Are you up for the suck?
quzah is offline   Reply With Quote
Old 03-18-2003, 03:53 PM   #4
Registered User
 
Join Date: Jan 2003
Posts: 99
Thank you both. This should be enough.
_Cl0wn_ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TCP Sockets: multiple clients - one server Printisor C Programming 4 11-01-2007 10:34 AM
multiple connections via sockets cope Networking/Device Communication 7 06-07-2007 10:35 AM
multiple UDP sockets with select() nkhambal Networking/Device Communication 2 01-17-2006 07:36 PM
Multiple Ports using Sockets mmondok C Programming 1 04-14-2003 09:36 PM
Overlapped I/O and Completion Port :: Winsock kuphryn Windows Programming 0 10-30-2002 05:14 PM


All times are GMT -6. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22