import socket

hello="helloworld"
print(len(hello))


port =4000
HOST=bytes('192.168.31.255',encoding = "utf8")
addr=(HOST,port)
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(hello,encoding = "utf8"),addr)
4151b003efa25a5f810e7b3a28aa60e1f6499d79
<mask token>

<mask token>
print(len(hello))
<mask token>
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(hello, encoding='utf8'), addr)

<mask token>
hello = 'helloworld'
print(len(hello))
port = 4000
HOST = bytes('192.168.31.255', encoding='utf8')
addr = HOST, port
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(hello, encoding='utf8'), addr)

import socket
hello = 'helloworld'
print(len(hello))
port = 4000
HOST = bytes('192.168.31.255', encoding='utf8')
addr = HOST, port
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(hello, encoding='utf8'), addr)

import socket

hello="helloworld"
print(len(hello))


port =4000
HOST=bytes('192.168.31.255',encoding = "utf8")
addr=(HOST,port)
s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.sendto(bytes(hello,encoding = "utf8"),addr)