Browse Source

Float timeout.

Nicolas Cannasse 19 years ago
parent
commit
dbf5500192
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/neko/Socket.hx

+ 1 - 1
std/neko/Socket.hx

@@ -124,7 +124,7 @@ class Socket {
 	}
 	}
 
 
 	// STATICS
 	// STATICS
-	public static function select(read : Array<Socket>, write : Array<Socket>, others : Array<Socket>, timeout : Int) : {read: Array<Socket>,write: Array<Socket>,others: Array<Socket>} {
+	public static function select(read : Array<Socket>, write : Array<Socket>, others : Array<Socket>, timeout : Float) : {read: Array<Socket>,write: Array<Socket>,others: Array<Socket>} {
 		var c = untyped __dollar__hnew( 1 );
 		var c = untyped __dollar__hnew( 1 );
 		var f = function( a ){
 		var f = function( a ){
 			if( a == null ) return null;
 			if( a == null ) return null;