comp.lang.ada
 help / color / mirror / Atom feed
From: "Ultor" <ultor@hert.org>
Subject: Re: Get_Line vs Adasockets
Date: 2000/08/14
Date: 2000-08-14T11:37:02+00:00	[thread overview]
Message-ID: <8n8lku$2ks$1@news.tpi.pl> (raw)
In-Reply-To: ZXKl5.3050$ic.175523@news.flash.net

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






  reply	other threads:[~2000-08-14  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-13  0:00 Get_Line vs Adasockets Ultor
2000-08-13  0:00 ` Dale Stanbrough
2000-08-14  0:00   ` Martin Dowie
2000-08-17  0:00     ` tmoran
2000-08-21  0:00       ` Martin Dowie
2000-08-14  0:00 ` Anders Gidenstam
2000-08-14  0:00 ` Ken Garlington
2000-08-14  0:00   ` Ultor [this message]
2000-08-14  0:00     ` Ted Dennison
2000-08-14  0:00       ` Michal Zalewski
2000-08-14  0:00         ` Ted Dennison
2000-08-21  1:44   ` David Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox