summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-04-02 23:58:37 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2001-04-02 23:58:37 +0000
commit8038c802e293da0c3f05dee1e3977a62320f6a5c (patch)
treeae5243b9bfb7c5bbeb470b2503e174aa1d5faa8e /include
parent5cc76eefe322a703f61dbab24a3d11c330f0c4fa (diff)
downloadlibapr-8038c802e293da0c3f05dee1e3977a62320f6a5c.tar.gz
fix apr_recvfrom() on Win32 so that it returns APR_EOF only for a
stream socket git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@61434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r--include/arch/win32/networkio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/arch/win32/networkio.h b/include/arch/win32/networkio.h
index 3e0d950d0..639b4be02 100644
--- a/include/arch/win32/networkio.h
+++ b/include/arch/win32/networkio.h
@@ -61,6 +61,7 @@
struct apr_socket_t {
apr_pool_t *cntxt;
SOCKET sock;
+ int type; /* SOCK_STREAM, SOCK_DGRAM */
apr_sockaddr_t *local_addr;
apr_sockaddr_t *remote_addr;
apr_interval_time_t timeout;