Thank you Grant and William. I wasn't aware of python programming and now
that I have looked some stuff it seems indeed much simpler to implement it
with. I'll look into it.


On Tue, Feb 4, 2014 at 12:04 AM, William Kenworthy <bi...@iinet.net.au>wrote:

> On 04/02/14 05:51, xarman wrote:
> >
> > On 02/03/2014 11:43 PM, Alan McKinnon wrote:
> >> On 03/02/2014 20:15, xarman wrote:
> >>> 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.
> >>>
> >>>
> >>
> >>
> >> Is this a school homework question?
> >>
> >>
> >>
> > No. Why are you asking?
> >
>
> He is asking because its one of the common C/C++ computer science
> assignments!
>
> In practice, perl, python are usually simpler and easier to use.
>
> and the google-fu needed is to search for a TCP echo server to use as a
> staring point.
>
> BillK
>
>
>
>

Reply via email to