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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.