🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5473

Re: I need some suggestions and oppinion for sending data

#5473
From: Daniele Borini
Date: Sun, 08 Aug 2004 16:17
23 lines
1750 bytes
yes, it's a good way
Vladimir Stefanovic wrote:
>>AnsiString s=AnsiString('1')+rec_str;
>>fwrite(s.c_str(),sizeof(char),len,File);
>>
>>that's 'couse on the other side of the transmission u'll get data with
>>only one read.. more faster...
> 
> 
> Yes, that could be much more efficient than the soulution I presented
> in previous post. I'm now considering the saving in this string format...
> 
>    "  %s  \t  %s  \t  %s  \t  %s  \r\n  " (without spaces)
> 
> ... I think this could be used in both fprintf() & fscanf() for
> reading and writing.
> 
> 
> Best regards,
> Vladimir Stefanovic
> 
> 
> 
Technical Details
Message-ID: <4116521c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <41152fcb@newsgroups.borland.com> <41158ca0@newsgroups.borland.com> <4115c231@newsgroups.borland.com> <4115f72f$1@newsgroups.borland.com> <411612cc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,9e55e8bf383b51eb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 08 Aug 2004 18:17:26 +0200
From: Daniele Borini <borini@infinito.it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Re: I need some suggestions and oppinion for sending data
References: <41152fcb@newsgroups.borland.com> <41158ca0@newsgroups.borland.com> <4115c231@newsgroups.borland.com> <4115f72f$1@newsgroups.borland.com> <411612cc@newsgroups.borland.com>
In-Reply-To: <411612cc@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.94.68.123
Message-ID: <4116521c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1091981852 62.94.68.123 (8 Aug 2004 09:17:32 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail