🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Data through Socket Connection

#832
From: Remy Lebeau (TeamB)
Date: Tue, 25 Sep 2007 22:55
17 lines
1395 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:2d2jf3dcnjtnkoja5c1a8tmfmc2uqj4e1n@4ax.com...

> Other than manually sending the individual pieces, is there
> some "automatic" method/way to send all class members?

No.  If the data is not a POD type, or a struct of POD types, then they have
to be sent individually.

> socket << complexobject ?

To do that, the user would have to provide a manual implementation of such a
'<<' operator.


Gambit
Technical Details
Message-ID: <46f99214$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <46f8bc4e$2@newsgroups.borland.com> <46f93930$1@newsgroups.borland.com> <2d2jf3dcnjtnkoja5c1a8tmfmc2uqj4e1n@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,c4e53e5901851367
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <46f8bc4e$2@newsgroups.borland.com> <46f93930$1@newsgroups.borland.com> <2d2jf3dcnjtnkoja5c1a8tmfmc2uqj4e1n@4ax.com>
Subject: Re: Data through Socket  Connection
Date: Tue, 25 Sep 2007 15:55:31 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 75.83.29.61
Message-ID: <46f99214$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1190760980 75.83.29.61 (25 Sep 2007 15:56:20 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail