Use of Select Option in Socket.
-
hi all, i am having doubt in Socket Programming, What is the need of select(...) Api in Socket. Please give me a neat explation of what the select(...) Api do in Socket and where we can apply this Api. Also i want the Difference between Blocking and NonBlocking Sockets. please help me out. Uday kiran
-
hi all, i am having doubt in Socket Programming, What is the need of select(...) Api in Socket. Please give me a neat explation of what the select(...) Api do in Socket and where we can apply this Api. Also i want the Difference between Blocking and NonBlocking Sockets. please help me out. Uday kiran
uday kiran janaswamy wrote:
need of select(...) Api in Socket.
If an application is using several sockets then the select() function may be used to find out which ones are active.
uday kiran janaswamy wrote:
Also i want the Difference between Blocking and NonBlocking Sockets.
See here. You will get a lot of information relating to blocking and non-blocking sockets.
Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_