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)
Esempio 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)
Esempio n. 3
0
 def recvfrom(self, *args):
     if self._sslobj:
         raise ValueError("recvfrom not allowed on instances of %s" %
                          self.__class__)
     return socket.recvfrom(self, *args)
Esempio 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)