// Collection of code snippets by Arne Vajhøj // (from articles on eksperten.dk / vajhoej.dk written sometime between 2004 and now) using System; using NetMQ; using NetMQ.Sockets; public class Srv6 { public static void Main(string[] args) { using (PullSocket s = new PullSocket()) { s.Bind("tcp://*:10006"); while(true) { string reqmsg = s.ReceiveFrameString(); Console.WriteLine("C# server : " + reqmsg); } } } }