[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1303906910.3166.50.camel@edumazet-laptop>
Date: Wed, 27 Apr 2011 14:21:50 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Ajit <ajitsa_bes@...oo.com>
Cc: netdev@...r.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??
Le mercredi 27 avril 2011 à 12:11 +0000, Ajit a écrit :
> Guys,
>
> I have developed a code which uses raw sockets to transfer files. My code skips
> all the upper layer protocols,I have designed a small protocol of my own.
>
> Now to problem is, whenever I transfer a large file it creates a problem. If
> transfer a file of suppose 100kb or more, only 97.9 Kb is received, unlike in
> the case of files smaller that 97.9.
>
> What can be the problem ?? Does continuously sending and receiving of frames
> creates a problem ??
Sure, check your syscall returns values, and search for SO_RCVBUF &
SO_SNDBUF (man 7 socket)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists