Explorar el Código

haxe.io.Error.Blocked is the error for IO blocking, not Blocking (#6601)

kaikoga hace 8 años
padre
commit
1e75884ed6

+ 1 - 1
std/cs/_std/sys/net/Socket.hx

@@ -179,7 +179,7 @@ class Socket {
 	}
 
 	/**
-		Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocking value.
+		Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocked value.
 	**/
 	public function setBlocking( b : Bool ) : Void {
 		sock.Blocking = b;

+ 1 - 1
std/python/_std/sys/net/Socket.hx

@@ -237,7 +237,7 @@ private class SocketOutput extends haxe.io.Output {
     }
 
     /**
-        Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocking value.
+        Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocked value.
     **/
     public function setBlocking( b : Bool ) : Void {
         __s.setblocking(b);

+ 1 - 1
std/python/lib/net/Socket.hx

@@ -91,7 +91,7 @@ extern class Socket {
     function waitForRead() : Void;
 
     /**
-        Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocking value.
+        Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocked value.
     **/
     function setblocking( b : Bool ) : Void;
 

+ 1 - 1
std/sys/net/Socket.hx

@@ -108,7 +108,7 @@ extern class Socket {
 	function waitForRead() : Void;
 
 	/**
-		Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocking value.
+		Change the blocking mode of the socket. A blocking socket is the default behavior. A non-blocking socket will abort blocking operations immediately by throwing a haxe.io.Error.Blocked value.
 	**/
 	function setBlocking( b : Bool ) : Void;