[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1304025895.9358.771.camel@tardy>
Date: Thu, 28 Apr 2011 14:24:55 -0700
From: Rick Jones <rick.jones2@...com>
To: Ajit <ajitsa_bes@...oo.com>
Cc: netdev@...r.kernel.org
Subject: Re: Maximum no of bytes Ethernet can transfer at a time ??
> 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.
Because the length of the optval is always 4 when retrieving the
SO_RCVBUF setting. You want to print the value of optval.
rick jones
--
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