Article View: borland.public.cppbuilder.internet.socket
Article #5803Re: Linux and Windows compatible Client/Server apps using UDP and TCP/IP without any components?
From: Chad Z. Hower aka Kudzu
Date: Mon, 26 Apr 2004 17:40
Date: Mon, 26 Apr 2004 17:40
28 lines
2354 bytes
2354 bytes
"Eugene Mayevski [SecureBlackbox]" <mayevski@eldos.org> wrote in
news:408cb3a2@newsgroups.borland.com:
> Chad, are you talking about synchronous/asynchronous or
> blocking/non-blocking? Linux does support non-blocking sockets using
> ioctl(O_NONBLOCK)
Yes, I mentioned then. They are "non blocking" but not the same as on
Windows. They are more like overlapped I/O.
> In linux, where threads == processes (with some minor difference of
> threads having common memory), creation of threads takes additional time
> (not talking about the fact that it's impossible to debug secondary
> threads with Kylix or Kdbg or KDevelop's debugger).
Yes, thats why I said threads/fork where forking on Unix is much more common,
alhtough threading is becoming quite common as well.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Want more Indy stuff? Try the Atozed Indy Portal at
http://www.atozedsoftware.com/
* More Free Demos
* Free Articles
* Extra Support
Technical Details
Message-ID:
<Xns94D7D254D5B83cpub@127.0.0.1>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!KudzuReferences:
<408940c8$1@newsgroups.borland.com> <4089b966@newsgroups.borland.com> <Xns94D754C7FDA13cpub@127.0.0.1> <408cb3a2@newsgroups.borland.com>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-26 11:10:19 PST 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? From: "Chad Z. Hower aka Kudzu" <cpub@hower.org> References: <408940c8$1@newsgroups.borland.com> <4089b966@newsgroups.borland.com> <Xns94D754C7FDA13cpub@127.0.0.1> <408cb3a2@newsgroups.borland.com> Organization: Atozed Software Message-ID: <Xns94D7D254D5B83cpub@127.0.0.1> User-Agent: Xnews/5.04.25 via ELKNews 1.1 X-Face: '-Al!t=o!k-s4*bktmv/YpA=fm9"8xdyO,t[~R2]W/c%[qF:])&(mBp$XI^d:Tmlr&&>S;aBs0DIl;0Fv|\3fb(#vsf)1;[;m0x&<RC/,7]DSa Lines: 27 Date: Mon, 26 Apr 2004 20:40:35 +0300 NNTP-Posting-Host: 83.168.2.248 X-Trace: newsgroups.borland.com 1083001224 83.168.2.248 (26 Apr 2004 10:40:24 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!Kudzu