Commit a4e6865c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Accept non-socket handles through net_Read* (closes #731)

parent 1a87ee6e
......@@ -222,7 +222,11 @@ receive:
if ((*vsv) != NULL)
n = (*vsv)->pf_recv ((*vsv)->p_sys, buf, buflen);
#if defined(WIN32) || defined(UNDER_CE)
n = recv (*fdv, buf, buflen, 0);
n = read (*fdv, buf, buflen);
if (n == -1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment