Lines Matching refs:_socket
76 self._socket = None
95 return self._socket is not None
123 self._socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
126 self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
127 self._socket.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
130 self._socket.setsockopt(socket.SOL_SOCKET,
133 self._socket.bind((self._ingress_address, self._ingress_port))
136 self._socket.settimeout(0.1)
140 if not self._socket is None:
141 self._socket.close()
142 self._socket = None
193 self._socket.close()
194 self._socket = None
216 self._socket.sendto(binary_string,
228 data, _ = self._socket.recvfrom(1024)
286 if self._socket is None: