Article View: news.software.nntp
Article #90745Re: A C library for the NNTP protocol?
From: Doc OLeary
Date: Sat, 09 Sep 2023 16:31
Date: Sat, 09 Sep 2023 16:31
40 lines
2570 bytes
2570 bytes
For your reference, records indicate that Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> wrote: > Dear n.s.nntp, > > Are there still extant C libraries that implement NNTP, and are > useful for creating Usenet clients? Honestly, no. I started working on a Mac newsreader back in 2014 when MT-NewsWatcher was broken by a system update. I did a survey of all the open source C-based NNTP clients I could find, in hopes that one of them would be easy to wrap Objective-C around. What I found is that most projects got “opinionated” very quickly, and the required dependencies were forcing me to focus on things that had nothing to do with NNTP. Given that the protocol isn’t that complex, it was easier for me to implement my objects from scratch (using Apple’s supplied NSStream objects to take care of SSL and all the other lower level network stuff). > 2) In the absence of 1) how would I start experimenting on my own? Again, since the protocol isn’t that complex, you’re not likely to run into all that much trouble with public servers as long as you don’t let your buggy code flood them. Take it in small steps and your traffic won’t even be a blip on the radar, even given the low Usenet usage these days. > Am I perhaps overthinking this, and this is rather easy? It’s “easy” in the sense that if you have the skills to write the software in the first place, the NNTP protocol itself is not going to give you difficulty. What I spent the bulk of my time on was everything that happens before and after the data transfer. Heaven help you if you’re looking to make something with multipart binary support . . . -- "Also . . . I can kill you with my brain." River Tam, Trash, Firefly
Technical Details
Message-ID:
<udi6k6$51h4$1@dont-email.me>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-mailReferences:
<cuHJM.1091805$6Li6.85230@fx12.ams4>Show Full Headers
Complete Article Headers
Message-ID: <udi6k6$51h4$1@dont-email.me> Subject: Re: A C library for the NNTP protocol? Date: Sat, 09 Sep 2023 16:31:02 +0000 From: Doc O'Leary , <droleary.usenet@2023.impossiblystupid.com> References: <cuHJM.1091805$6Li6.85230@fx12.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 Cancel-Lock: sha1:o6xO7N5IFId0sSr28jutb82Fbgs= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Injection-Date: Sat, 9 Sep 2023 16:31:02 -0000 (UTC) Content-Transfer-Encoding: 8bit User-Agent: com.subsume.NNTP/1.0.0 Newsgroups: news.software.nntp Organization: Subsume Technologies, Inc. Lines: 41