Skip to content

Instantly share code, notes, and snippets.

@pingswept
Created November 21, 2022 19:02
Show Gist options
  • Save pingswept/e124a4dcc816dbb380f6612b06073d17 to your computer and use it in GitHub Desktop.
Save pingswept/e124a4dcc816dbb380f6612b06073d17 to your computer and use it in GitHub Desktop.
import socket
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(b"Buy a copy of Chip War today!", ("130.64.80.187", 5000))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment