Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1.  
  2. SERVIDOR :
  3. $ python ./socket_echo_server.py
  4.  
  5. starting up on localhost port 10000
  6. waiting for a connection
  7. connection from ('127.0.0.1', 52186)
  8. received "This is the mess"
  9. sending data back to the client
  10. received "age. It will be"
  11. sending data back to the client
  12. received " repeated."
  13. sending data back to the client
  14. received ""
  15. no more data from ('127.0.0.1', 52186)
  16. waiting for a connection
  17.  
  18.  
  19. CLIENTE
  20. $ python socket_echo_client.py
  21.  
  22. connecting to localhost port 10000
  23. sending "This is the message. It will be repeated."
  24. received "This is the mess"
  25. received "age. It will be"
  26. received " repeated."
  27. closing socket
  28.  
  29.  
  30.  
  31. $:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement