🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Linux and Windows compatible Client/Server apps using UDP and TCP/IP without any components?

#5721
From: Eugene Mayevski [SecureBlackbox]
Date: Wed, 28 Apr 2004 16:43
25 lines
2513 bytes
Chad Z. Hower aka Kudzu wrote:

> It severely complicates the code and in most cases provides negligible 
> benefit.

Which code? The code of the library? This is the problem of library 
developer, not user's problem. An all in all I can't see any problem 
with the code like

while not TerminateOperation do
   select(1, FSocket, nil, nil, 10);
if not TerminateOperation then
   read(FSocket...);

I don't think this (3 extra lines) severely complicates the code.
To make it clear: for experiments I turned our ElSSLIOHandler (and in 
this way indy itself) to completely non-blocking with about 10 or 15 
extra lines of code. Should one provide NonBlockingIOHandler for you to 
believe that this is NOT severely complicated?

-- 
Eugene Mayevski
EldoS Corp., CTO
Security and networking solutions
http://www.eldos.com
Technical Details
Message-ID: <408fdf4f$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail
References: <408940c8$1@newsgroups.borland.com> <4089b966@newsgroups.borland.com> <Xns94D754C7FDA13cpub@127.0.0.1> <408cb3a2@newsgroups.borland.com> <Xns94D7D254D5B83cpub@127.0.0.1> <408d7e2a$1@newsgroups.borland.com> <Xns94D8666CA914Bcpub@127.0.0.1> <408e168e@newsgroups.borland.com> <Xns94D8A2AD83860cpub@127.0.0.1> <408f59a4$1@newsgroups.borland.com> <Xns94D9792CD8562cpub@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11508e,7ff7d57992a0c98e
X-Google-Thread: 1036eb,cc69d1fdd62435b3
X-Google-Thread: fc17a,58ba8da04ce4f6ff
X-Google-Attributes: gid11508e,gid1036eb,gidfc17a,public
X-Google-ArrivalTime: 2004-04-28 09:50:30 PST
Date: Wed, 28 Apr 2004 19:43:42 +0300
From: "Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org>
Organization: EldoS Corporation
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, ru, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket,borland.public.delphi.internet.winsock,borland.public.kylix.internet.sockets
Subject: Re: Linux and Windows compatible Client/Server apps using UDP and
 TCP/IP without any components?
References: <408940c8$1@newsgroups.borland.com> <4089b966@newsgroups.borland.com> <Xns94D754C7FDA13cpub@127.0.0.1> <408cb3a2@newsgroups.borland.com> <Xns94D7D254D5B83cpub@127.0.0.1> <408d7e2a$1@newsgroups.borland.com> <Xns94D8666CA914Bcpub@127.0.0.1> <408e168e@newsgroups.borland.com> <Xns94D8A2AD83860cpub@127.0.0.1> <408f59a4$1@newsgroups.borland.com> <Xns94D9792CD8562cpub@127.0.0.1>
In-Reply-To: <Xns94D9792CD8562cpub@127.0.0.1>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 82.144.222.199
Message-ID: <408fdf4f$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1083170639 82.144.222.199 (28 Apr 2004 09:43:59 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed.iinet.net.au!newsfeed.iinet.net.au!PeerFeed.KWeb.on.ca!news.kweb.on.ca!newsgroups.borland.com!not-for-mail