Martin v. Löwis <mar...@v.loewis.de> added the comment: > On my computer, connect() on a UDP socket always finishes > successfully. What's wrong?
Nothing is wrong. UDP is connection-less, so connect() is a no-op, except that it remembers the address so you can use send() instead of sendto(). Any errors due to non-reachability will only happen when you actually try to send. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14855> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com