Skip to content

Instantly share code, notes, and snippets.

View LovelyBuggies's full-sized avatar
👣
Live in the moment.

N!no LovelyBuggies

👣
Live in the moment.
View GitHub Profile
@suyashdamle
suyashdamle / client.py
Created April 22, 2019 15:40
Joint UDP-TCP client-server programs in Python using Socket Programming
import socket
HOST = 'localhost' # The server's hostname or IP address
PORT = 64532 # The port used by the server
use_tcp = False
if not use_tcp:
################# UDP CLIENT ####################