Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Tcp Listener
Date: Mon, 03 Feb 2014 19:05:59
Message-Id: lcop9d$npv$1@ger.gmane.org
In Reply to: [gentoo-user] Tcp Listener by xarman
1 On 2014-02-03, xarman <manousidis.xar@×××××.com> wrote:
2 > I'm interested in making a TCP Listener in C / C++ on Linux to accept
3 > many connections simultaneously. I did a relative search on the Web and
4 > although I am aware of the C language as to a certain extent, I
5 > struggle to find a model program.
6
7 My initial advice would be to use Python instead of C.
8
9 If you want to use C:
10
11 man socket
12 man select
13 man poll
14 man pthreads
15
16 http://en.wikipedia.org/wiki/POSIX_Threads
17
18 http://www.amazon.com/UNIX-Network-Programming-Richard-Stevens/dp/0139498761
19 http://www.amazon.com/Advanced-UNIX-Programming-2nd-Edition/dp/0131411543
20
21 --
22 Grant Edwards grant.b.edwards Yow! My mind is a potato
23 at field ...
24 gmail.com