public SocketSendBehaviorTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _behavior = new SocketSendBehavior(_client); }
public SocketReceiveAsyncBehaviorTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _behavior = new SocketReceiveAsyncBehavior(_server); }
public void CreatePairSocket() { using var socket1 = new Pair0Socket(); using var socket2 = new Pair0Socket(); var url = "ipc://hello/world"; socket1.Listen(url); }
public AsyncContextTests() { _server = new Pair0Socket(); _server.Listen(Url); _client = new Pair0Socket(); _client.Dial(Url); _serverAsyncContext = new AsyncContext(_server); _clientAsyncContext = new AsyncContext(_client); }