Dear All,

   My question wasn't really answered in my last message.
Here was what I wanted to do.
Write a server that listens on a port
When a client connects, the server connects to another remote server.
Everything the client says to the initial server gets told to the remote
server, and everything the remote server says gets told to the initial
client.

Here is what I learned from the response to my last e-mail post:

Using select(), I (the initial server), can switch to whom I'm talking to,
either the connecting client, or the remote server.

What I want to know is how the initial server can listen to both the
client and the remote server at the same time and tell each other the
needed info.  It's the whole blocking thing.  Whenever I try to get info
from a connection, nothing else can happen until it gets the end of line
chars.
  How do I stop this?  I want to get info from two seperate connections at
the same time, whenever those two connections talk.

I'd like some code examples, or at least a huge hint.  Thank you very
much.

- Adam Stern

Reply via email to