🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Writing asynchronous in synchronous TClientSocket

#4076
From: Tiago Rossi
Date: Tue, 29 Mar 2005 22:16
5 lines
1185 bytes
Can I write asynchronouslly in an ctBlocking TClientSocket?
 I have a thread for receive (using TWinSockStream) and need to write throw
socket after click event in a vcl button. I need to use the same stream in
receive thread to write?
If i can't do that, what can i do whitout use ctNonBlocking Sockets?
Technical Details
Message-ID: <4249d31e@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,e5b0c71cf248a4be,start
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Tiago Rossi" <tiarossi@bol.com.br>
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: Writing asynchronous in synchronous TClientSocket
Date: Tue, 29 Mar 2005 19:16:19 -0300
Lines: 8
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 200.188.186.52
Message-ID: <4249d31e@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112134430 200.188.186.52 (29 Mar 2005 14:13:50 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail