Maybe I miss your problem.But there is a command line program names
'netcat', which can send/receive TCP/UDP messages. also would be nice to
check its source code if you are interested to writing your own.


2014-02-04 xarman <manousidis....@gmail.com>:

> 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.
>
>

Reply via email to