🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #68924

yEnc multipart binaries

#68924
From: Jean Fermant
Date: Tue, 06 Apr 2004 15:23
22 lines
1800 bytes
Hi,

I'm currently making a newsreader in PHP, and I have some
problemns finding out all the parts of a post. I could rely
on the subject line (ie '(12/97)' for example) but I don't
find it very satisfying. I've seen that a yEnc file contains
the number of the part on the '=ypart' line, but it is in the
body of the message.

I would like to know the part number of the part, but without
reading all the body, because it can be very big... The line which
tells the part number is fortunately at the beginning of the body,
often at the 2nd or 3rd line, but I've found no way of just reading
the 3 first lines of the body.

I'm using TCP sockets, and I can't send another command without reading
all the body.

Is there a way of just reading only the 3 first lines of the body ?


Thanks in advance.
Technical Details
Message-ID: <9317993c.0404060723.2ed1c29e@posting.google.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9317993c.0404060723.2ed1c29e@posting.google.com>
Subject: yEnc multipart binaries
Date: Tue, 06 Apr 2004 15:23:23 +0000
From: jean.fermant@dodgeit.com (Jean Fermant)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ash.giganews.com!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!nntp.giganews.com!news.glorb.com!postnews1.google.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 22
NNTP-Posting-Host: 62.147.22.217
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1081265004 23688 127.0.0.1 (6 Apr 2004 15:23:24
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 6 Apr 2004 15:23:24 +0000 (UTC)