Issue222881

classification
Title: socket.send() return None
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: low Keywords:

Created on 2000-11-18.19:55:46 by bckfnn, last changed 2000-11-26.16:19:03 by bckfnn.

Messages
msg211 (view) Author: Finn Bock (bckfnn) Date: 2000-11-18.19:55:46
for tcp sockets, socket.send() returns the result of self.ostream.write() which
is declared void.  so, None is returned.  the CPython docs state that the number
of bytes sent should be returned.
msg212 (view) Author: Finn Bock (bckfnn) Date: 2000-11-26.16:19:03
Fixed. socket.send() will return the length of the data to be send.
History
Date User Action Args
2000-11-18 19:55:46bckfnncreate