]> granicus.if.org Git - libevent/commit
On win32, sockets apparently can't be used with ReadFile and WriteFile: You need...
authorNick Mathewson <nickm@torproject.org>
Thu, 20 Sep 2007 19:36:03 +0000 (19:36 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 20 Sep 2007 19:36:03 +0000 (19:36 +0000)
commitdb43c1e111f1fb7a6c5912154dce4a46034eed7a
tree6fe5574a40e0b79d49e4db21e1778bbfe1da96c2
parent1e1f77c5b02fca9622e9e1d249adec4b5428a245
On win32, sockets apparently can't be used with ReadFile and WriteFile: You need send() and recv() instead. Also, you need to use ioctlsocket() with sockets, not ioctl. [Fixes evbuffer regression tests.]

svn:r448
ChangeLog
buffer.c