🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to know the number of the connection in using serversocket?

#3881
From: Remy Lebeau (TeamB)
Date: Thu, 12 May 2005 20:43
14 lines
1437 bytes
"Didier" <bodinier.didier@wanadoo.fr> wrote in message
news:4283b3c9@newsgroups.borland.com...

> I 'm getting the informations transmitted by the method OClientRead
> (Socket.ReceiveBuf etc...);
> Now I 'd like to send an ack to the machine ;so I want to use
> Socket->Connections[x]->SendText etc..

If you are sending the ack from inside the OnClientRead event, then use the
same Socket parameter that you read your data from.


Gambit
Technical Details
Message-ID: <4283bfcb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4283b3c9@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,ceea40ef2e922ed2
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: <4283b3c9@newsgroups.borland.com>
Subject: Re: How to know the number of the connection in using serversocket?
Date: Thu, 12 May 2005 13:43:51 -0700
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: <4283bfcb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115930571 68.69.17.41 (12 May 2005 13:42:51 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsread.com!news-xfer.newsread.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail