Re: [dev] A tiny IRC connection tool

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon, 16 Apr 2012 21:54:53 +0200

Greetings.

On Mon, 16 Apr 2012 21:54:53 +0200 Connor Lane Smith <cls_AT_lubutu.com> wrote:
> On 16 April 2012 19:38, Christoph Lohmann <20h_AT_r-36.net> wrote:
> > There  is socat(1) and netcat(1). Of course they are big, but is there a
> > need to reimplement them?
>
> Neither handle IRC pings. Of course, you could wrap them in a shell
> script and so on, but at that point I begin to wonder whether it's
> worse to write 90 lines of C or to hack some shell around 39000 or
> 7000 lines, respectively.

See chugly[0] for how to do it right. Doing something serious will need
shell redirections anyway. Linux is full of fifos. :(


Sincerely,

Christoph Lohmann

[0] http://www.proweb.co.uk/~matt/chugly.rc
Received on Mon Apr 16 2012 - 21:54:53 CEST

This archive was generated by hypermail 2.3.0 : Mon Apr 16 2012 - 22:00:11 CEST