🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #90729

Re: A C library for the NNTP protocol?

#90729
From: Johann 'Myrkraverk' Oskarsson
Date: Wed, 06 Sep 2023 19:08
55 lines
2977 bytes
On 9/6/2023 5:01 AM, Billy G. (go-while) wrote:
> On 05.09.23 17:06, Johann 'Myrkraverk' Oskarsson wrote:
>> Are there still extant C libraries that implement NNTP
> I'm not a C guy but as C is old as nntp i bet you'll find something?

Yup, what I originally found, c-client from University of Washington
didn't turn out to be as "user friendly" as I was expecting, so I'm
looking around.
> 
>> and are useful for creating Usenet clients? 
> What kind of client?
> a reader or a binary downloader?

Primary purpose is a reader, but binary downloader as well, as long
as it's not a conflict of purpose.

> 
>  > 1) how would I start experimenting on my own?
> 
> https://datatracker.ietf.org/doc/html/rfc3977
> 
>  > Do Usenet providers frown upon practice clients, such as Eternal 
> September?
> 
> Paid providers mostly don't care. private ones may do better in banning 
> you for doing stupid stuff.
> please try only with your localhost. inn is enough.

That's good to know, and I'll certainly keep it in mind.

> 
>  > practicing all the intricacies of SSL verification
> 
> SSL(-lib) is only a wrapped around layer to a tcp connection which in 
> case of NNTP sends/receives commands and data via text or 
> 'line1\r\nline2\r\n.'
> 
> why use C?

The reason I want to use C, is to build something that potentially can
work for everyone, including VAX/VMS, [MS|PC|Free]DOS, Amiga -- or the
more modern Vampire -- as well as the current operating systems we use
from day to day in the real world, far into the future.

For people who don't have that concern, other programming languages are
a good choice, and I'd probably go with Common Lisp, or OCaml, if that
wasn't my desired social contract.

Best of luck with Go.

[snip]

-- 
Johann | email: invalid -> com | www.myrkraverk.com/blog/
I'm not from the Internet, I just work there. | twitter: @myrkraverk
Technical Details
Message-ID: <374KM.14$5D9b.1@fx02.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <cuHJM.1091805$6Li6.85230@fx12.ams4> <BGMJM.1820980$Y1R7.419554@fx04.ams4>

Show Full Headers
Complete Article Headers
Message-ID: <374KM.14$5D9b.1@fx02.ams4>
Subject: Re: A C library for the NNTP protocol?
Date: Thu, 7 Sep 2023 03:08:44 +0800
From: Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid>
References: <cuHJM.1091805$6Li6.85230@fx12.ams4> <BGMJM.1820980$Y1R7.419554@fx04.ams4>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
In-Reply-To: <BGMJM.1820980$Y1R7.419554@fx04.ams4>
X-Complaints-To: abuse@easynews.com
Content-Language: en-US
Lines: 56
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
X-Received-Bytes: 2892
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0
Newsgroups: news.software.nntp