🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: i need ideas/comments with tclientsocket

#3231
From: Alfred
Date: Mon, 31 Oct 2005 15:08
13 lines
1624 bytes
Thank you for you answare.
I am trying to use it.. but i have a problem :
TDataStruct *Data = static_cast<TDataStruct>( Socket->Data ); make error (cannot convert 'void *' to 'TDataStruct'...

I dont understand very well how it work, can you help me ?
What happen to server when :
- I get half package, it store it in Data->DataStream, i get a second package it owerwrite datastream ? ( Data->DataStream->Write( Buffer, DataLength ); ) or it is written and the end of the olf Datastream ?

- I get half package, it store it in Data->Datastream, now i get a new half package by another client (another socket) . It is stored in a new datastream or it make confusione the the old one ?

thank you very much
Alfred
Technical Details
Message-ID: <4366417f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <43662baf$1@newsgroups.borland.com> <43663272$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: "Alfred" <alf@no.spam.not.valid.email>
Sender: "Alfred" <alf@no.spam.not.valid.email>
Reply-To: "Alfred" <alf@no.spam.not.valid.email>
Subject: Re: i need ideas/comments  with tclientsocket
Newsgroups: borland.public.cppbuilder.internet.socket
X-User-Info: 82.52.136.128     
References: <43662baf$1@newsgroups.borland.com> <43663272$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4366417f$1@newsgroups.borland.com>
Date: 31 Oct 2005 08:08:31 -0700
X-Trace: newsgroups.borland.com 1130774911 207.105.83.66 (31 Oct 2005 08:08:31 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail