#returns true if packet was sent successfully def send_packet(socket, send_buffer, size, ip_addr, port): pass #returns message and size, or None if error def receive_packet(socket) pass