Marcia Hon <(E-Mail Removed)> wrote:
> Hi,
>
> I am implementing a client using TCP/IP and Berkeley sockets. I would like
> to have one port to connect to the server AND listen to incoming
> connections. I don't know how to do this.
Using select(2). fork(2) would also be a solution, depending on what you
wanted to do.
Search for 'beej' on Google and hit the first link.
And then go out and by 'UNIX Network Programming', by Stevens.
--
Cameron Kerr
(E-Mail Removed) :
http://nzgeeks.org/cameron/
Empowered by Perl!