Skip to content
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

gen_socket:connect 一直阻塞 #4

Open
bighunter513 opened this issue Feb 13, 2017 · 1 comment
Open

gen_socket:connect 一直阻塞 #4

bighunter513 opened this issue Feb 13, 2017 · 1 comment

Comments

@bighunter513
Copy link

按照首页文档创建服务器和客户端,
服务器accept返回,
3> {ok, S} = gen_socket:accept(L).
{ok,{140226430765064,<<>>}}

客户端connect一直阻塞
{ok, S} = gen_socket:connect("127.0.0.1", 10000, []).
tcpdump抓包三次握手也已经建立成功。

@max-feng
Copy link
Collaborator

application:start(gen_socket).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants