qmsk/net/socket/socket.pyx
changeset 24 f18b5787c46c
parent 20 0e4933d5862e
child 27 12468e38227e
--- a/qmsk/net/socket/socket.pyx	Tue Aug 18 22:24:36 2009 +0300
+++ b/qmsk/net/socket/socket.pyx	Tue Aug 18 23:02:30 2009 +0300
@@ -112,15 +112,16 @@
 
         return self.fd
     
-    def setblocking (self, bint blocking = True) :
-        """
-            Control the OS-level nonblocking-IO mode flag for this socket.
-
-                blocking    - True for normal blocking operation, False to use non-blocking operation
-        """
-        
-        # fcntl magic
-        libc.fcntl_set_flag(self.fd, libc.O_NONBLOCK, not blocking)
+#    # XXX: does this *really* belong here?
+#    def setblocking (self, bint blocking = True) :
+#        """
+#            Control the OS-level nonblocking-IO mode flag for this socket.
+#
+#                blocking    - True for normal blocking operation, False to use non-blocking operation
+#        """
+#        
+#        # fcntl magic
+#        libc.fcntl_set_flag(self.fd, libc.O_NONBLOCK, not blocking)
 
     def bind (self, sockaddr addr) :
         """