Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Oct 2002 20:38:29 +0300
From:      Giorgos Keramidas <keramida@FreeBSD.ORG>
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:  <20021013173829.GC10829@hades.hell.gr>
In-Reply-To: <20021011054937.92483.qmail@web40708.mail.yahoo.com>
References:  <20021011054937.92483.qmail@web40708.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-10 22:49, alireza mahini <alirezamahini@yahoo.com> wrote:
> I want to accepting and handle (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.

If you can get your hands on a copy of "UNIX Network Programming" by
Richard W. Stevens, you will certainly find many examples of source
code that will help.  Borrow it, buy it, get to read it in one way or
another.  It's not the only book you can read about networking with
UNIX, and it contains examples in C (not C++), but it will help a lot.

-- 
keramida@FreeBSD.org       FreeBSD: The Power to Serve
FreeBSD 5.0-CURRENT #12: Thu Oct 10 21:08:38 EEST 2002

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?20021013173829.GC10829>