From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,URI_HEX autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c22949b5ebf3505f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-05-08 14:41:07 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!fu-berlin.de!uni-berlin.de!212.97.175.23!not-for-mail From: Jano Newsgroups: comp.lang.ada Subject: Re: [OT] Two sockets questions Date: Thu, 8 May 2003 23:41:03 +0200 Message-ID: References: <8765omaa6b.fsf@inf.enst.fr> <87smrpe0uo.fsf@inf.enst.fr> NNTP-Posting-Host: 212.97.175.23 X-Trace: fu-berlin.de 1052430066 19705731 212.97.175.23 (16 [49872]) X-Newsreader: MicroPlanet Gravity v2.50 Xref: archiver1.google.com comp.lang.ada:37083 Date: 2003-05-08T23:41:03+02:00 List-Id: Samuel Tardieu dice... > >>>>> "Stephen" == Stephen Leake writes: > > Stephen> Jano writes: > >> Stephen Leake dice... > >> > >> > > 1) Create your socket > >> > > 2) Make it non-blocking > >> > >> > I suspect Jano is wondering how to accomplish step 2; exactly > >> > what function (C or Ada) should be called, with what parameters? > >> > >> That's no problem. I have used it before in the Gnat binding. > > Stephen> Um, what, exactly, is "it"? That is the real question here! > > Jano means that he knows perfectly well how to perform steps 1 and 2 > (create a non-blocking socket). Your suspicion was wrong :) > > The problem does not lie in creating a non-blocking socket, but only > in using connect() in a non-blocking way. Exactly :) -- ------------------------- Jano 402450.at.cepsz.unizar.es -------------------------