[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <loom.20110428T083015-693@post.gmane.org>
Date: Thu, 28 Apr 2011 06:36:24 +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 ??
Ajit <ajitsa_bes <at> yahoo.com> writes:
>
> Eric Dumazet <eric.dumazet <at> gmail.com> writes:
>
> > Sure, check your syscall returns values, and search for SO_RCVBUF &
> > SO_SNDBUF (man 7 socket)
> >
> > --
>
> okies..I dont know exactly how to use those but I will google and try it..
> will post my result after some time.
>
> Thank you
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo <at> vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
hi sir,
I tried out something as you said.
I introduces this lines in my code,
getsockopt(s,SOL_SOCKET,SO_RCVBUF,&optval,&optlen);
printf("The value of optlen is %d\n",optlen);
It always displays 4.
I really have no idea about it. Do I need to use setsockopt options in my
receiver code ??
If so, what difference will it make ??
--
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