From: Eric Dumazet <eric.dumazet@gmail.com>
To: Ajit <ajitsa_bes@yahoo.com>
Cc: netdev@vger.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??
Date: Wed, 27 Apr 2011 14:21:50 +0200 [thread overview]
Message-ID: <1303906910.3166.50.camel@edumazet-laptop> (raw)
In-Reply-To: <loom.20110427T140651-957@post.gmane.org>
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)
next prev parent reply other threads:[~2011-04-27 12:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-27 12:11 Maximum no of bytes Ethernet can transfer at a time ?? Ajit
2011-04-27 12:21 ` Eric Dumazet [this message]
2011-04-27 12:27 ` Ajit
2011-04-28 6:36 ` Ajit
2011-04-28 6:40 ` Eric Dumazet
2011-04-28 21:24 ` Rick Jones
2011-04-27 13:01 ` Neil Horman
2011-04-28 5:49 ` Ajit
2011-04-28 11:06 ` Neil Horman
2011-04-29 8:39 ` Ajit
2011-04-29 19:06 ` Neil Horman
2011-04-29 8:53 ` Ajit
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1303906910.3166.50.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=ajitsa_bes@yahoo.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox