
Windows client does not connect to Unix socket
Quote:
> I am learning socket programming on Linux (gcc).
Sockets are not a standard C feature.
Quote:
> I have used Vic Metcalfes code from the unix-socket-faq to build a server
> that accepts connections using the select() command.
select() is not a standard C function.
Quote:
> The code works great when telneting from Unix terminals, but when I telnet
> from a Windows client the connection is dropped immediately.
The C standard does not specify Unix or Windows.
Quote:
> Am I missing something obvious here? Is there an incompatibility with
> Windows wheh trying to connect to a Unix socket on the server?
No idea... but maybe comp.unix.programmer or
comp.os.ms-windows.programmer would have some idea.
--
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #80 D+ ADA N+++ |
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"Hasta la Vista, Abie!"
- Bart Simpson