01-23-04 10:01 PM
I have collected some source code from searches of Google and I have
written a very simple socket "echo client". Now, could someone point
out how I could make the client wait for the server to connect, then
connect to the server and do its echoing?
In this case the server can connect and disconnect at will and I'd
like for my client to hang around and wait for it to come back.
I can post the full source but right now it is the "connect" call
failing if the server is not available. I'd rather not poll, so I
hope there is some other "standard" available.
The server is the Kegs Apple //gs emulator that starts a server as the
emulated serial port. I'm trying to create a "client" service for
that server to emulate a modem PLUS.
Oh yes, I'm writing this in C. Thanks in advance.
--
------------------------------------------------
http://www3.sympatico.ca/dmitton
SPAM Reduction: Remove "x." from my domain.
------------------------------------------------
[ Post a follow-up to this message ]
|