New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udpconnector中为什么同时也创建一个tcp连接并监听? #993

Open
wangql opened this Issue Mar 27, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@wangql

wangql commented Mar 27, 2018

RT,看源码时感到疑惑。

this.tcpServer = net.createServer();
this.socket = dgram.createSocket(/省略/);

this.socket.bind(this.port, this.host);
this.tcpServer.listen(this.port);

@andcup

This comment has been minimized.

andcup commented Mar 27, 2018

这个版本还有人维护吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment