[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGIO



On Tue, Dec 03, 2002 at 04:37:52PM +0800, Sonawane, Rahul (Rahul) wrote:
> I am facing a problem in a socket program. It a an async socket. I
> expect SIGIO to read the tcp buffer. This is a server program. Now if
> the client machine closes the socket I still get a SIGIO but with no
> data in the tcp buffer. Is this signal expected on server when client
> socket is closed.

SIGIO just tells your program that a read(2) won't block. It didn't. :)

-- 
Too bad life doesn't have a :q! command.

PGP signature