[Live-devel] increaseReceiveBufferTo or setReceiveBuffersize double buffer Size in BasicUDPSource class

Ricardo Acosta ricardo at kafemeeting.com
Tue May 8 06:02:12 PDT 2012


>
> I don't think so.  "getReceiveBufferSize()" does, indeed, return the
> actual OS internal buffer size (obtained by calling "getsockopt(...,
> SOL_SOCKET, ...)".)
>
> OK, But If buffer's size is 126976 (standard size before any
increaseReceiveBuffer or setReceiveBuffer)

and we made  setReceiveBufferTo(*env,udpGroupSock->socketNum(),500*1024);

Final buffer's size should be 500*1024 = 512.000

not 1.024.000 as we had when we ask
"getReceiveBufferSize(*env,udpGroupSock->socketNum())
"

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120508/842a4244/attachment.html>


More information about the live-devel mailing list