netdev
[Top] [All Lists]

Re: Fwd: Problem with recv syscall on socket when other side closed conn

To: dyp@xxxxxxxxxxxx (Denis Perchine)
Subject: Re: Fwd: Problem with recv syscall on socket when other side closed connection
From: kuznet@xxxxxxxxxxxxx
Date: Tue, 27 Jun 2000 20:30:03 +0400 (MSK DST)
Cc: davem@xxxxxxxxxx, ak@xxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <00062723125606.00490@dyp> from "Denis Perchine" at Jun 27, 0 11:07:47 pm
Sender: owner-netdev@xxxxxxxxxxx
Hello!

> No.... Don't do it... At least I can write workaround with comment:
> /*
>   Just to make this buggy Linux happy :-((((
> */

OK.


Let me to reproduce.

> > You wrote to dead socket, right? It is the hardest error.



> Now I start to understand why BSD people hate Linux... 

Guy, before all your program is buggy.

You could tell "thank you" to people who have lost time
explaining you this. And you could thank also OS, which
allowed to expose this _fatal_ bug.

Alexey

<Prev in Thread] Current Thread [Next in Thread>