Ejemplo n.º 1
0
 def recvfrom(self, buflen=1024, flags=0):
     self._checkClosed()
     if self._sslobj:
         raise ValueError("recvfrom not allowed on instances of %s" %
                          self.__class__)
     else:
         return socket.recvfrom(self, buflen, flags)
Ejemplo n.º 2
0
 def recvfrom(self, buflen=1024, flags=0):
     self._checkClosed()
     if self._sslobj:
         raise ValueError("recvfrom not allowed on instances of %s" %
                          self.__class__)
     else:
         return socket.recvfrom(self, buflen, flags)
Ejemplo n.º 3
0
 def recvfrom(self, *args):
     if self._sslobj:
         raise ValueError("recvfrom not allowed on instances of %s" %
                          self.__class__)
     else:
         return socket.recvfrom(self, *args)
Ejemplo n.º 4
0
 def recvfrom(self, *args):
     if self._sslobj:
         raise ValueError("recvfrom not allowed on instances of %s" %
                          self.__class__)
     else:
         return socket.recvfrom(self, *args)