Skip to content

Instantly share code, notes, and snippets.

@Adarshreddyash
Created September 6, 2019 14:58
Show Gist options
  • Save Adarshreddyash/6f7e3341101bba99b4c975897387a04b to your computer and use it in GitHub Desktop.
Save Adarshreddyash/6f7e3341101bba99b4c975897387a04b to your computer and use it in GitHub Desktop.
import socket
clientsocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
clientsocket.connect(('localhost', 5000))
clientsocket.send('Gspace is awesome')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment