sockets

sockets

Post by Dobrovolskiy Rusla » Thu, 12 Aug 1999 04:00:00



Hi!
Read() function in socket waits for data if not data sent.
Who knows, can I recognize , if data sent to me before calling read()?
 
 
 

sockets

Post by Christopher Bar » Thu, 12 Aug 1999 04:00:00


: Hi!
: Read() function in socket waits for data if not data sent.
: Who knows, can I recognize , if data sent to me before calling read()?

        man select

--
    Christopher Bark
    4th Year Comp Sci
    Carleton University


 
 
 

sockets

Post by Rainer Temm » Fri, 13 Aug 1999 04:00:00



> Read() function in socket waits for data if not data sent.
> Who knows, can I recognize , if data sent to me before calling read()?

Hi Dobrovolskiy,
...
Have a look on the man-pages for select() and poll()
...
Regards Rainer