lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ