Article View: borland.public.cppbuilder.internet.socket
Article #5809Re: Linux and Windows compatible Client/Server apps using UDP and TCP/IP without any components?
From: Eugene Mayevski [SecureBlackbox]
Date: Tue, 27 Apr 2004 08:14
Date: Tue, 27 Apr 2004 08:14
16 lines
2112 bytes
2112 bytes
Chad Z. Hower aka Kudzu wrote: > But require polling, they dont send Windows messages which is how they are > normally used in Windows. Its very rare to use non blocking sockets in > Windows without using Windows messages, unless you are using overlapped I/O. No, they require using select(). In Windows this scenario is exactly the same. This is how we build most socket operations. Asynchronous Windows IO is unreliable and has some differences between documented and factual behaviour. -- Eugene Mayevski EldoS Corp., CTO Security and networking solutions http://www.eldos.com
Technical Details
Message-ID:
<408e168e@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<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>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-27 01:28:34 PST Date: Tue, 27 Apr 2004 11:14:40 +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> In-Reply-To: <Xns94D8666CA914Bcpub@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: <408e168e@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1083053710 82.144.222.199 (27 Apr 2004 01:15:10 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail