[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <loom.20110429T103558-283@post.gmane.org>
Date: Fri, 29 Apr 2011 08:39:31 +0000 (UTC)
From: Ajit <ajitsa_bes@...oo.com>
To: netdev@...r.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??
Neil Horman <nhorman <at> tuxdriver.com> writes:
> >
> Can you just post a link to the code?
> Neil
>
> > Thank you.
> >
> >
here are the links to the code..
sender code : http://pastebin.com/se17Xn96
The command line arguments are like ./pgm_name eth0 /root/abc
where abc is the file name.
receiver code : http://pastebin.com/AKiUWzwR
just run it.
In the receiver code I have assigned offset to buffer[15], it was just for
debugging purpose. Actually offset must have 16 bits of buffer[15] and
buffer[16], but for files of around 100kb-200kb it will easily work..no need to
modify.
Thank you.
--
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