Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
TZMQ_Socket.SetSockOpt() now properly sets options
Browse files Browse the repository at this point in the history
  • Loading branch information
Htbaa committed Feb 5, 2012
1 parent 4622cbd commit 10cf9df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion socket.bmx
Expand Up @@ -89,7 +89,7 @@ Type TZMQ_Socket
about: Throws a TZMQ_Exception on errors
End Rem
Method SetSockOpt(socket_option:Int, value:String)
Local rc:Int = zmq_setsockopt(Self.socket, socket_option, value, 0)
Local rc:Int = zmq_setsockopt(Self.socket, socket_option, value, value.Length)
If rc = -1 Then Throw New TZMQ_Exception
End Method

Expand Down
1 change: 1 addition & 0 deletions zmq.bmx
Expand Up @@ -37,6 +37,7 @@ ModuleInfo "ZeroMQ: <a href='http://www.zeromq.org'>http://www.zeromq.org</a>"
ModuleInfo "ZeroMQ License: LGPL (see contents of ./zeromq)"
ModuleInfo "Git repository: <a href='https://github.com/Htbaa/zmq.mod/'>https://github.com/Htbaa/zmq.mod/</a>"
ModuleInfo "Issues: <a href='https://github.com/Htbaa/zmq.mod/issues'>https://github.com/Htbaa/zmq.mod/issues</a>"
ModuleInfo "History: TZMQ_Socket.SetSockOpt() now properly sets options"
ModuleInfo "History: TZMQ_Message.Close() now properly frees up memory"
ModuleInfo "History: 0.01"
ModuleInfo "History: First release of htbaapub.zmq using ZMQ 2.1.11. No support yet for input/output multiplexing with zmq_poll()"
Expand Down

0 comments on commit 10cf9df

Please sign in to comment.