🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56245

Re: How recv() determines the receiving is finished?

#56245
From: Andrew Gierth
Date: Mon, 28 Jan 2002 04:18
12 lines
1490 bytes
>>>>> "Joshua" == Joshua  <JoshuaIIII@hotmail.com> writes:

 Joshua> Your help is very help.Thank you so much but...

 Joshua> I didn't understand you very much here.Coz I have tried and I
 Joshua> think "printf(received_buffer);" is working just well.

Try it with data that contains several "%s" sequences.

-- 
Andrew.
Technical Details
Message-ID: <87bsffqfb7.fsf@erlenstar.demon.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonster
References: <a30rss$f0j$1@mail.cn99.com> <yly9iju1i5.fsf@windlord.stanford.edu> <a31khk$895$1@mail.cn99.com> <87665ntppq.fsf@erlenstar.demon.co.uk> <a32ifs$rpp$2@mail.cn99.com>

Show Full Headers
Complete Article Headers
Message-ID: <87bsffqfb7.fsf@erlenstar.demon.co.uk>
Subject: Re: How recv() determines the receiving is finished?
Date: Mon, 28 Jan 2002 04:18:04 +0000
From: Andrew Gierth <andrew@erlenstar.demon.co.uk>
References: <a30rss$f0j$1@mail.cn99.com> <yly9iju1i5.fsf@windlord.stanford.edu> <a31khk$895$1@mail.cn99.com> <87665ntppq.fsf@erlenstar.demon.co.uk> <a32ifs$rpp$2@mail.cn99.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.mbox.zip!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news-feed.riddles.org.uk!news-spur.riddles.org.uk!newsmonster
Newsgroups: news.software.nntp
Organization: disorganised
Lines: 11
X-Mayan-Date: Long count = 12.19.8.16.18; tzolkin = 13 Etznab; haab = 16 Muan
X-Pgp-0x0E9FFBE9: 87 25 7F 14 41 24 B3 51 E0 19 8B DE 49 74 0C 29
X-Attribution: AG
X-P-Persistent-Headers: are a bad idea.
X-Newsreader: Gnus v5.5/Emacs 20.2
X-Complaints-To: abuse@news-spur.riddles.org.uk
X-Post-Filter: postfilter v0.6 alpha