Hello,
I am starting socket scripting with python.
I do understand from the doc that a socket is bmocking by default.
I wrote 2 basics script to verify this behaviour.
my "tcp_server.py":
import socket, sys
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
HOST = '192.168.0.103'
PORT = 106
The data flow is not corrupted with extra characters.
But I do not detect the closing of the socket on the remote server.
Why is recv not blocking !!!
Le samedi 23 août 2014 10:23:14 UTC+2, Arthur Clarck a écrit :
> Hello,
>
>
>
> I am starting socket scripting with python.
>