March 2003
Intermediate to advanced
656 pages
39h 30m
English
send
s.send(string)Sends the bytes of string on the socket.
Returns the number n of bytes sent.
n may be lower than
len(
string
);
your program must check, and resend the unsent substring
string
[
n
:]
if non-empty. If there is no space in the socket’s
buffer, blocks until some space appears.
Read now
Unlock full access