Issue533541

classification
Title: send() on _udpsocket fails
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn
Priority: normal Keywords:

Created on 2002-03-22.11:26:33 by anonymous, last changed 2002-05-31.10:53:20 by bckfnn.

Messages
msg636 (view) Author: Nobody/Anonymous (nobody) Date: 2002-03-22.11:26:33
There is a bug in the implementation of send on a
'connected' udp socket. Only the address and not the
data is passed to the underlying sendto() method.

send() in _udpsocket should become:

def send(self, data):
    assert self.addr
    return self.sendto(data, self.addr)

instead of

def send(self, data):
    assert self.addr
    return self.sendto(self.addr)
msg637 (view) Author: Finn Bock (bckfnn) Date: 2002-05-31.10:53:20
Logged In: YES 
user_id=4201

Bugreport is a duplicate of "[ 544891 ] problems with
socket.py". Fixed in socket.py: 1.13
History
Date User Action Args
2002-03-22 11:26:33anonymouscreate