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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f0972757f30880f7 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-12 01:57:46 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: john@assen.nospam.demon.co.uk (John McCabe) Newsgroups: comp.lang.ada Subject: Re: Sockets - newbie at a brick wall Date: Thu, 12 Dec 2002 09:58:25 GMT Message-ID: <3df85d10.3167644@news.demon.co.uk> References: NNTP-Posting-Host: pipehawk.demon.co.uk X-Trace: news.demon.co.uk 1039687064 10695 158.152.226.81 (12 Dec 2002 09:57:44 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Thu, 12 Dec 2002 09:57:44 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:31727 Date: 2002-12-12T09:58:25+00:00 List-Id: On 11 Dec 2002 10:40:00 -0800, benjamin_place@hotmail.com (Benjamin Place) wrote: >So what am I doing wrong. Which socket is already connected, and what >should I do differently? To be honest, I haven't used GNAT.Sockets, but two things strike me as odd: 1) Your use of Socket_Datagram with a Connect() call. Perhaps you should try Socket_Stream sockets. 2) Should there be a call to Listen() on the server side or is that included in one of the other calls? I realise this probably isn't as useful as someone who has worked with GNAT.Sockets, but hopefully it will be a pointer to something that would help until someone more knowledgeable provides a solution.