xiaoshua / junixsocket

Automatically exported from code.google.com/p/junixsocket
0 stars 0 forks source link

expectBoolean for SO_SNDBUF value #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this a bug, or is this a desired behaviour? 
In AFUNIXSocketImpl.setOption send and receive buffers expect boolean as the 
parameter.
I am trying to plug this library into a piece of code that was written to deal 
with inet sockets, but it throws an exception in this place since the code is 
doing setReceiveBufferSize on a socket giving an integer as the value.

Original issue reported on code.google.com by dms....@gmail.com on 17 Dec 2010 at 8:09

GoogleCodeExporter commented 9 years ago
Hi dms.cyb,

thanks for pointing at this.
I have made a change to SVN trunk, please see if it works for you:
http://code.google.com/p/junixsocket/source/detail?r=111

Cheers,
Christian

Original comment by ckkohl79 on 17 Dec 2010 at 1:29