socket.sendto / UDP problem

Antoine Pitrou solipsis at
Fri Oct 22 15:46:04 CEST 2010

On Fri, 22 Oct 2010 09:27:51 -0400
Todd Walter <twalter at> wrote:
> Is there a way to specify the source port for a
> transmission without first binding to it?

Of course not, why do you want to do so?
(well, not using plain UDP or TCP, that is. You can of course do that
through ad-hoc means in the application protocol)

More information about the Python-list mailing list