public Promise<NetChannel<T, T>> createClient(String addrs, int socketType) {
Assert.isTrue(!shutdown, "This ZeroMQ instance has been shut down");
TcpClient<T, T> client = new TcpClientSpec<T, T>(ZeroMQTcpClient.class)
.env(env).dispatcher(dispatcher).codec(codec)
.options(new ZeroMQClientSocketOptions()
.context(zmqCtx)
.connectAddresses(addrs)
.socketType(socketType))
.get();