Message161132
| Author |
loewis |
| Recipients |
cblp, gregory.p.smith, loewis, pitrou, vinay.sajip |
| Date |
2012年05月19日.15:47:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20120519174743.Horde.PP8tX8L8999Pt8Cf1RYTgmA@webmail.df.eu> |
| In-reply-to |
<1337439224.07.0.230263695141.issue14855@psf.upfronthosting.co.za> |
| Content |
> 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. |
|