Windows implementation of stream-fd.
authorLinda Sun <lsun@vmware.com>
Mon, 24 Feb 2014 19:12:25 +0000 (11:12 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Tue, 25 Feb 2014 21:47:57 +0000 (13:47 -0800)
commit6500157f9f6c741249c5297b3d1913298dc57dca
tree434e85564cb3ea02d485bd804f3578fec776a8e0
parent3f142f59f2859ef5c2bc124405ab4d683d3f416b
Windows implementation of stream-fd.

Use send/recv for socket stream instead of read/write.
Use event handle for polling on socket stream.
Check windows specific return code.

Signed-off-by: Linda Sun <lsun@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
lib/automake.mk
lib/latch-unix.c [moved from lib/latch.c with 100% similarity]
lib/stream-fd-unix.c [moved from lib/stream-fd.c with 100% similarity]
lib/stream-fd-windows.c [new file with mode: 0644]
lib/stream-fd.h
lib/stream.c