Alex, > I tried Jeff version and your version and can't get them work. I cannot answer for the Jeff's version. However, for my version the SetSockOpt takes a simple string as a parameter: s.SetSockOpt(ZMQ.SUBSCRIBE, ""); For an example, have a look here: http://github.com/sustrik/clrzmq/blob/master/local_thr/local_thr.cs Martin