"Bj�rn Persson" wrote in message news:tYuzg.11401$E02.3978@newsb.telia.net... > REH wrote: >> recv is the standard POSIX (or BSD) socket receive >> function. > > Can't you import recv like this? > > function Recv(Socket : in int; > Hdr : out Header_Type; > Size : in size_t; > Flags : in int); > pragma Import(C, Recv, "recv"); > > This should work if your compiler follows the advice in ARM95 B.3, and you > won't have to mess with 'Address or pragma Volatile. You should be able to > make multiple imports like this, with different types instead of the void > pointer. > > -- > Bj�rn Persson PGP key A88682FD > omb jor ers @sv ge. > r o.b n.p son eri nu That's a good idea, thank you. REH