Lines Matching refs:_sock
714 self._sock = sock
716 self._sock = self._setup_connection((remote_host, sess_port))
737 self._sock.close()
740 return self._sock
800 self._sock.connect(self.peer)
804 p['SourceIP'] = self._sock.getsockname()[0]
809 self._sock.sendto(str(p), self.peer)
810 self._sock.close()
812 self._sock = self._setup_connection(self.peer)
823 data, peer = self._sock.recvfrom(8192)
852 self._sock.send(p.rawData())
865 self._sock.send(p.rawData())
887 ready, _, _ = select.select([self._sock.fileno() ], [ ], [ ], 0)
897 received = self._sock.recv(bytes_left)
915 ready, _, _ = select.select([self._sock.fileno() ], [ ], [ ], timeout)
920 received = self._sock.recv(bytes_left)