Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 09:32:12 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        alireza mahini <alirezamahini@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Is there any way that i can listening ,accepting and handeling two or more sockets at the same time?
Message-ID:  <3DA6D2DC.2010003@potentialtech.com>
References:  <20021011054937.92483.qmail@web40708.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
alireza mahini wrote:
> I want to accepting and handeling(sending to and
> receiving from) two sockets(STREAM socket)at the
> same time please guide me and send me a sample code
> written in c++ about this title for me.
> Thanks for your attention.  

Consider researching the source code for inetd, which
does this.  Install the sources on your FreeBSD machine
and look in /usr/src/usr.sbin/inetd

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DA6D2DC.2010003>