Andy Pan
Andy Pan
Sorry, still not so clear about your requirement here, could you describe it step by step and share more details?
Let me see what I can do.
I wonder if this code change is making an appreciable result?
Couldn't you just create a UDP socket to server B in server A and bind that socket with the port you want?
client.Dial() and use the returned gnet.Conn to send data, or you can just use the standard `net` to create a UDP socket.
> It is not an option to create a new socket. Is there a way to send network messages without using sockets? Besides, I don't think you are allowed to...
@UladzimirTrehubenka It's no plan for now, but I will keep investigating it and support TLS if it is possible.
Sorry, I don't have a particularly convincing idea of how to implement TLS in `gnet` at the present stage, and I don't have much time to do this at the...
可以调用 `Conn.Flush()`,不过这个只能在 OnTraffic()/OnClose() 这些回调函数里调用,因为不是线程安全的。