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)
Beispiel #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)
Beispiel #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)
Beispiel #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)