[haXe] Socket

Nicolas Cannasse ncannasse at motion-twin.com
Thu Apr 20 10:14:21 CEST 2006


> I tried it, but I get "Uncaught exception - std at socket_new" :
> 
> 
> Called from Index.hx line 9
> Called from D:\\dev\\haxe\\haxe-beta5/std/neko/Socket.hx line 63
> Called from a C function
> Called from D:\\dev\\haxe\\haxe-beta5/std/neko/Socket.hx line 73
> Uncaught exception - std at socket_new

Try to replace the constructor by the following :

	public function new() {
		__s = socket_new(false);
	}

However, the line numbers reported looks a bit strange, since there is
no socket_new calls at this place.

Nicolas



More information about the Haxe mailing list