daily pastebin goal
17%
SHARE
TWEET

TIC Python Cliente

a guest Feb 22nd, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2. import socket
  3.  
  4. s = socket.socket()                 # Crear un socket
  5. s.connect(("192.168.1.58", 9999))   # y conectarlo a la IP y el puerto
  6.  
  7.  
  8. while True:                         # void loop()
  9.       mensaje = raw_input("> ")
  10.       s.send(mensaje)
  11.  
  12. s.close()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top