Author Roman.Valov
Recipients Roman.Valov
Date 2013-05-29.14:07:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There is a way to "disconnect" UDP socket
that was previously "connected" to specific
remote endpoint in C:

  struct sockaddr_in sin;        
  memset((char *)&sin, 0, sizeof(sin));
  sin.sin_family = AF_UNSPEC;
  connect(fd, (struct sockaddr *)&sin, sizeof(sin));

However in this is not available in python, since connect
accepts only (host, port) as a parameter for UDP socket.

It's possible to drop "port" connection with port=0,
however I can't find a way to drop "host" connection.
Date User Action Args
2013-05-29 14:07:24Roman.Valovsetrecipients: + Roman.Valov
2013-05-29 14:07:24Roman.Valovsetmessageid: <>
2013-05-29 14:07:24Roman.Valovlinkissue18095 messages
2013-05-29 14:07:24Roman.Valovcreate