🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TcpClient & TcpServer in Turbo C++ (TurboExplorer)

#1626
From: Remy Lebeau (TeamB)
Date: Sun, 10 Dec 2006 05:55
32 lines
1961 bytes
"Victrix" <vrivero00NoSpamATNoSpam.yahoo.com.mx.invalid> wrote in message
news:457b03c5$1@newsgroups.borland.com...

> I'm using free Turbo C++ (turboexplorer) and this environment missing
> help files for TcpClient & TcpServer Components, someone know where
> to get information about this Components?

Those are very poorly designed components.  I strongly advise not using
them.

> I was using TClientSocket & TServerSocket (C++ Builder 5) sometime
> ago without problems

You can still use them.

> now, when i try to make a connection using non-blocking mode i got
> a 10035 (WSAEWOULDBLOCK) error

That is a perfectly normal error code with non-blocking sockets.  It is not
a fatal error.  It simply means that you tried to do something that would
block the calling thread for any length of time, which obviously is not
allowed with a non-blocking socket.

> never got the OnConnect event and Active property is false :s, i never had
> this problem with TClientSocket

TClientSocket and TServerSocket handle that specific error code internally
for you.


Gambit
Technical Details
Message-ID: <457ba197$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <457b03c5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,6e1e619db6e51b25
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: <457b03c5$1@newsgroups.borland.com>
Subject: Re: TcpClient & TcpServer in Turbo C++ (TurboExplorer)
Date: Sat, 9 Dec 2006 21:55:05 -0800
Lines: 34
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.34.171
Message-ID: <457ba197$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1165730199 75.83.34.171 (9 Dec 2006 21:56:39 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail