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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,223af7b95794ff28 X-Google-Attributes: gid103376,public From: "Ultor" Subject: Re: Get_Line vs Adasockets Date: 2000/08/14 Message-ID: <8n8lku$2ks$1@news.tpi.pl>#1/1 X-Deja-AN: 658087511 References: <8n6cbc$9ge$1@news.tpi.pl> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Complaints-To: usenet@tpi.pl X-Trace: news.tpi.pl 966253022 2716 212.160.74.27 (14 Aug 2000 11:37:02 GMT) Organization: tp.internet - http://www.tpi.pl X-MSMail-Priority: Normal NNTP-Posting-Date: 14 Aug 2000 11:37:02 GMT Newsgroups: comp.lang.ada Date: 2000-08-14T11:37:02+00:00 List-Id: Hello > > procedure testsock is ... > > BUF : String (1..500); > Current_String_Length : Natural; > > > begin... > > loop... > Get_Line(Incoming_Socket, Buf, Current_String_Length); > if BUF(1..Current_String_Length)="QUIT" ... That won't work cause Incoming_Socket is not File_Type ... will work if ther's some way to convert Incoming_Socket to File_Type. PS: I'm using GNAT. -- Best Regards, Marek Bialoglowy [Ultor@hert.org] ------ Network Security Consultant GROUP: HERT (www.hert.org) -- PGP: http://www.hert.org/pgp/Ultor.asc