static void DoServer_CircuitBreaker(string u) { var socket = Request_Reply.CreateServer(u); var breaker = new CircuitBreaker(() => { do { Request_Reply.ReceiveOnece(socket); } while (true); }, null); breaker.Process(); }
static void DoServer(string u) { var socket = Request_Reply.CreateServer(u); Request_Reply.Listen(socket); }