🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87138

Re: Semi-random thought: websockets

#87138
From: dunno
Date: Sat, 24 Oct 2015 06:13
25 lines
2001 bytes
Joshua Cranmer 🐧 <Pidgeot18@verizon.invalid> wrote:
> On 10/17/2015 2:17 AM, J. Moreno wrote:
>> I was browsing yet another lousy forum the other day, and it occurred to me
>> that that there's no pure javascript NNTP reader, because such a beast is
>> of course impossible--javascript can't get out of it's sandbox...but maybe
>> it could.
> 
> Well, it's actually fairly easy to write an NNTP client in JS (I've 
> actually started on an nntplib JS lib), except for the little fact that 
> every JS environment has a completely different API for TCP sockets. 
> There is a proposal at <http://www.w3.org/TR/tcp-udp-sockets/>, but 
> that's implemented by nobody.
> 
> The whiteout.io people implemented Mozilla's older variant of that 
> proposal and wrote shims for Node sockets, chrome sockets, and 
> WebSockets here: <https://github.com/whiteout-io/tcp-socket>.
> 

There is also NNTP implementation(s) written using jNode, it can be found
by googling "NNTP jNode."

-- 
dunno

Technical Details
Message-ID: <n0f7i4$j81$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <20151017031939.880$4B@newsreader.com> <n0dp07$mcp$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <n0f7i4$j81$1@news.mixmin.net>
Subject: Re: Semi-random thought: websockets
Date: Sat, 24 Oct 2015 06:13:24 +0000
From: dunno <dunno@dunno.dunno>
References: <20151017031939.880$4B@newsreader.com> <n0dp07$mcp$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 24 Oct 2015 06:13:24 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="422819ebad2f704d9c7d94e0031512edaa212088";
 logging-data="19713"; mail-complaints-to="abuse@mixmin.net"
User-Agent: NewsTap/5.1 (iPhone/iPod Touch)
Cancel-Lock: sha1:WO1fopL7UAdkv0wyWtKdXaJJ48g=
X-Received-Body-CRC: 1671081134
X-Received-Bytes: 1946