| Issue 251: | socket_connect() in non-blocking return error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
the line 413 in Socket.cpp must be changed from gc_exit_blocking(); to block_error(); |
| Issue 251: | socket_connect() in non-blocking return error | |
| 1 person starred this issue and may be notified of changes. | Back to list |
the line 413 in Socket.cpp must be changed from gc_exit_blocking(); to block_error(); |
What steps will reproduce the problem? var s : Socket = new Socket(); s.setBlocking(false); try { s.connect(new Host("www.google.com"), 80); } catch (e : Dynamic) { trace(e); } What is the expected output? What do you see instead? The output is "Failed to connect on www.google.com:80". It must be "Blocking". What version of the product are you using? On what operating system? HAXE 3.0, hxcpp 3.0.2 Please provide any additional information below.