Article View: news.software.nntp
Article #90732Re: A C library for the NNTP protocol?
From: Computer Nerd Kev
Date: Wed, 06 Sep 2023 23:06
Date: Wed, 06 Sep 2023 23:06
33 lines
2187 bytes
2187 bytes
Russ Allbery <eagle@eyrie.org> wrote: > Johann 'Myrkraverk' Oskarsson <johann@myrkraverk.invalid> writes: > >> 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. > > Writing portable C that will work on all of those platforms will be a > significant challenge, particularly for the NNTP protocol which requires > dealing with the networking stack, which in turn is quite different across > that spectrum of operating systems if I recall correctly. > > Given that portability desire, you're probably better off writing your > client in Python, since other folks have done the Python porting work for > you. You're joking right? I avoid Python scripts on _Linux_ because they rarely work with the version I'm running (whether that's too new, or too old). Good luck on more obscure platforms! There are plenty of cross-platform programs that use networking, written in C. From the X window system to this lightweight encryption library (perhaps useful to the OP if they're interested in NNTPS?): https://github.com/classilla/cryanc That said, it would be quite a challenge, but Python is far from the solution there. -- __ __ #_ < |\| |< _#
Technical Details
Message-ID:
<64f905f6@news.ausics.net>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> <BGMJM.1820980$Y1R7.419554@fx04.ams4> <374KM.14$5D9b.1@fx02.ams4> <874jk7yuwd.fsf@hope.eyrie.org>Show Full Headers
Complete Article Headers
Message-ID: <64f905f6@news.ausics.net>
Subject: Re: A C library for the NNTP protocol?
Date: Wed, 06 Sep 2023 23:06:30 +0000
From: not@telling.you.invalid (Computer Nerd Kev)
References: <cuHJM.1091805$6Li6.85230@fx12.ams4> <BGMJM.1820980$Y1R7.419554@fx04.ams4> <374KM.14$5D9b.1@fx02.ams4> <874jk7yuwd.fsf@hope.eyrie.org>
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
Newsgroups: news.software.nntp
User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (Linux/2.4.31 (i586))
Nntp-Posting-Host: news.ausics.net
Organization: Ausics - https://www.ausics.net
Lines: 33
X-Complaints: abuse@ausics.net