Skip to content

Instantly share code, notes, and snippets.

View ThisIsJeron's full-sized avatar
💭
big thoughts only

Jeron Wong ThisIsJeron

💭
big thoughts only
  • San Francisco
  • 11:20 (UTC -07:00)
View GitHub Profile
import socket
TCP_IP = '127.0.0.1'
TCP_PORT = 5005
BUFFER_SIZE = 20 # Normally 1024, but we want fast response
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.bind((TCP_IP, TCP_PORT))
s.listen(1)

Keybase proof

I hereby claim:

  • I am thisisjeron on github.
  • I am thisisjeron (https://keybase.io/thisisjeron) on keybase.
  • I have a public key whose fingerprint is 0760 2443 E6BC C990 A8D3 C0D2 9013 5C19 BE46 AADA

To claim this, I am signing this object: