🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

real c++ tcpstream?

#5814
From: saabas
Date: Wed, 02 Apr 2003 21:50
20 lines
1477 bytes
Hi everyone,

does anyone know a good and free CommonC++ -like tcpstream 
implementation which works good with std::string and binary data too?
(and maybe with stl too)

so using it would be simple as:
map<int,string> somemap;
...
tcpstream tcp("localhost:9000");
tcp << somemap;

//
other side:
map<int,string> m2;
tcp >> m2;

how about something like pipestream, using win32 pipes?

BR saabas
Technical Details
Message-ID: <3e8b5af0@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,1c56f5bc567790d8,start
X-Google-Attributes: gid10cc67,public
X-Google-Thread: 11508e,1c56f5bc567790d8,start
X-Google-Attributes: gid11508e,public
X-Google-ArrivalTime: 2003-04-02 13:52:40 PST
Date: Thu, 03 Apr 2003 00:50:42 +0300
From: saabas <not_for@mail.ee>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; et-EE; rv:1.3) Gecko/20030312
X-Accept-Language: et
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.cppbuilder.nativeapi
Subject: real c++ tcpstream?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 62.65.230.80
Message-ID: <3e8b5af0@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049320176 62.65.230.80 (2 Apr 2003 13:49:36 -0800)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail