- Use send/recv on sockets instead of read/write. - Don't start a receiver thread on sockets opened with TCPopen.  This   change is needed on Windows since you can't seem to have a recv and   a send outstanding on the same socket at the same time (the send   will hang until the recv returns, it looks like). - Set some socket options on recently opened sockets ala the streams   module. With these changes, tcpip1 test works on Windows.
- Use send/recv on sockets instead of read/write.
- Don't start a receiver thread on sockets opened with TCPopen.  This
  change is needed on Windows since you can't seem to have a recv and
  a send outstanding on the same socket at the same time (the send
  will hang until the recv returns, it looks like).
- Set some socket options on recently opened sockets ala the streams
  module.
With these changes, tcpip1 test works on Windows.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb