My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 251: socket_connect() in non-blocking return error
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by wit...@g.debuz.com, Aug 19, 2013
the line 413 in Socket.cpp must be changed from
gc_exit_blocking();
to
block_error();

Aug 19, 2013
#1 wit...@g.debuz.com
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.


Powered by Google Project Hosting