Message239759
By the way, socket.sendto() has a bug: it stores the result of sendto() into a C int. It must store the result into a Py_ssize_t. sock_call.patch already contains a fix for this.
Attached sendto_ssizet.patch is the fix for Python 2.7 and 3.4.
UDP packets cannot be larger than an ethernet frame which is smaller than 10,000 bytes. That's probabyl why nobody complained before. sendto() is only used for UDP, no? |
|
Date |
User |
Action |
Args |
2015-03-31 23:02:17 | vstinner | set | recipients:
+ vstinner, pitrou, neologix, serhiy.storchaka |
2015-03-31 23:02:17 | vstinner | set | messageid: <1427842937.45.0.38972293697.issue23834@psf.upfronthosting.co.za> |
2015-03-31 23:02:17 | vstinner | link | issue23834 messages |
2015-03-31 23:02:17 | vstinner | create | |
|