Commit 42f34e18 authored by Dafydd Harries's avatar Dafydd Harries

fake UDP: use recv pipe fd as socket fd

darcs-hash:20070120045445-c9803-4016ae24913becca718508596fc5d10f25884e6c.gz
parent c4201111
...@@ -110,6 +110,7 @@ fake_socket_init ( ...@@ -110,6 +110,7 @@ fake_socket_init (
priv->recv_pipe_out = fds[0]; priv->recv_pipe_out = fds[0];
priv->recv_pipe_in = fds[1]; priv->recv_pipe_in = fds[1];
sock->fileno = priv->recv_pipe_out;
sock->send = fake_send; sock->send = fake_send;
sock->recv = fake_recv; sock->recv = fake_recv;
sock->priv = priv; sock->priv = priv;
......
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