Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SERVIDOR :
- $ python ./socket_echo_server.py
- starting up on localhost port 10000
- waiting for a connection
- connection from ('127.0.0.1', 52186)
- received "This is the mess"
- sending data back to the client
- received "age. It will be"
- sending data back to the client
- received " repeated."
- sending data back to the client
- received ""
- no more data from ('127.0.0.1', 52186)
- waiting for a connection
- CLIENTE
- $ python socket_echo_client.py
- connecting to localhost port 10000
- sending "This is the message. It will be repeated."
- received "This is the mess"
- received "age. It will be"
- received " repeated."
- closing socket
- $:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement