public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Tcp Listener
@ 2014-02-03 18:15 xarman
  2014-02-03 19:05 ` [gentoo-user] " Grant Edwards
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: xarman @ 2014-02-03 18:15 UTC (permalink / raw
  To: gentoo-user

I'm interested in making a TCP Listener in C / C++ on Linux to accept
many connections simultaneously. I did a relative search on the Web and
although I am aware of the C language as to a certain extent, I
struggle to find a model program. Essentially, it is the listener of a
server that receives a signal and stores it in a database and do some
other functions. I know how to do the functions but I'm looking for a
way to fix the basic skeleton of listener that will be always active.
I'm not sure if I need multi threading or multi socketing for multi
connections.
If you have any knowledge on the subject or have a simple example or even
some reference in order to work on that, I'd appreciate it.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2014-02-06 11:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-03 18:15 [gentoo-user] Tcp Listener xarman
2014-02-03 19:05 ` [gentoo-user] " Grant Edwards
2014-02-03 21:43 ` [gentoo-user] " Alan McKinnon
2014-02-03 21:51   ` xarman
2014-02-03 22:04     ` William Kenworthy
2014-02-03 23:50       ` Xar Man
2014-02-03 23:20     ` Alan McKinnon
2014-02-03 23:50       ` Xar Man
2014-02-04  0:42         ` Korthrun
2014-02-04 18:21           ` Χαράλαμπος Μανουσίδης
2014-02-06 11:08 ` 钱泽森

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox