lkml.org 
[lkml]   [2002]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Is the linux networking code broken?
On Fri, May 31, 2002 at 02:47:21AM -0500, Ed Carp wrote:
> On Fri, 31 May 2002, Alex Riesen wrote:
>
> > Neither of them. How do you think the things are working here? 8-)
> > rsync, wget, apache, a whole lot other programs transfer megabytes.
>
> Most of them use short writes. Here's the source I'm using...

Most of them are the biggest possible writes.

~/compile/ercftp ./sender localhost ../nfs-kaboom.c
Using 2048 byte packets
Connecting to localhost
Resolved, opening TCP socket
Doing connect
Connected, waiting for OK...
Waiting for OK...
Sending ../nfs-kaboom.c
... a while
Waiting for ack...
caught signal 14!


~/compile/ercftp ./receiver
Getting TCP socket
Doing bind
Doing listen
Accepting connection
Writing 23987 to ../nfs-kaboom.c
... another while

caught signal 14! flen=23987, inlen=0, pos=0, packets=12, packet.seqno=0


Neither of the programs finished because of awful lot of bugs within,
but the output clearly shows the facts.
Surely, no problems with networking observed.

What kernel do you use? Also, you may want check your system libraries
(libc, libresolv*).

-alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.084 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site