Thread (12 messages) 12 messages, 4 authors, 2011-04-29

Re: Maximum no of bytes Ethernet can transfer at a time ??

From: Neil Horman <nhorman@tuxdriver.com>
Date: 2011-04-27 13:01:26

On Wed, Apr 27, 2011 at 12:11:35PM +0000, Ajit wrote:
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 ??

If any one is interested I can give you my code..

Thank you. 
What transport layer are you using (UDP/TCP/SCTP/etc)?  Does a simmilar transfer
work if you use an actual TCP/UDP socket, rather than your raw one?  If you're
consistently getting 97.9k transferred, that almost sounds like some sort of
firewall type connection limitation.  Take a TCPDump from the peer to get a
better idea of whats going on when the connection fails
Neil
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help