🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3247
From: Remy Lebeau (TeamB)
Date: Mon, 31 Oct 2005 19:32
14 lines
1485 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:4366425e$1@newsgroups.borland.com...

> Sorry, that code was untested. Try this:
>
> TDataStruct *Data = reinterpret_cast<TDataStruct>( Socket->Data );

That is still wrong.  You need to cast to a pointer type:

    TDataStruct *Data = reinterpret_cast<TDataStruct*>( Socket->Data );


Gambit
Technical Details
Message-ID: <4366714a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!diablo.voicenet.com!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <4366417f$1@newsgroups.borland.com> <4366425e$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,5c33b8c6a9ca7fdb
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com> <4366417f$1@newsgroups.borland.com> <4366425e$1@newsgroups.borland.com>
Subject: Re: i need ideas/comments  with tclientsocket
Date: Mon, 31 Oct 2005 11:32:28 -0800
Lines: 16
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: 68.69.17.41
Message-ID: <4366714a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1130787146 68.69.17.41 (31 Oct 2005 11:32:26 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!diablo.voicenet.com!38.119.97.78.MISMATCH!news-out.superfeed.net!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail