apr_socket_recv(): APR_EOF when receiving empty UDP datagram
Tomasz Ostrowski <[email protected]>
| Newsgroups | gmane.comp.apache.apr.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I've noticed that apr_socket_recv() function returns APR_EOF upon receiving empty UDP packet while apr_socket_recvfrom() checks socket type and returns APR_EOF only for SOCK_STREAM. Shouldn't apr_socket_recv() also check socket type like the latter? -- Tomasz Ostrowski