Revision c4d01aaa
Added by Hamish Coleman about 9 years ago
- ID c4d01aaacf7fcf64ba4c6d38cd72168706b16d06
| wconsd.c | ||
|---|---|---|
|
sin.sin_family=AF_INET;
|
||
|
sin.sin_port=htons(default_tcpport);
|
||
|
ls=socket(AF_INET,SOCK_STREAM,0);
|
||
|
/*
|
||
|
FIXME:
|
||
|
you can open sockets on Windows so that they support read/write. Just create it with
|
||
|
|
||
|
fh = WSASocket (domain, type, protocol, NULL, 0, 0);
|
||
|
|
||
|
|
||
|
instead of socket.
|
||
|
(see http://lists.gnu.org/archive/html/qemu-devel/2010-01/msg00383.html)
|
||
|
*/
|
||
|
if (ls==INVALID_SOCKET) {
|
||
|
return 9;
|
||
|
}
|
||
Also available in: Unified diff
CLEANUP: uncommitted note found