[adasockets] adasockets / GNAT.Sockets

Thomas De Contes d.l.tDeContes at free.fr
Mon Nov 5 18:16:08 CET 2007


Le 4 nov. 07 à 21:15, Samuel Tardieu a écrit :

>>>>>> "Thomas" == Thomas De Contes <d.l.tDeContes at free.fr> writes:
>
> Thomas> Which is the advantage of adasockets compared to
> Thomas> GNAT.Sockets ?
>
> I prefer its interface, which is of a higher level than GNAT.Sockets
> one.

Could you give me some examples, please ?

Looking at PingPong example (in GNAT.Sockets), i don't see anything  
else than Initialize and Finalize,
Is it enough to say that it is higher level ?


>
> Thomas> I thought that it was the streams, because GNAT.Sockets would
> Thomas> not allow to use streams as easily as adasockets, but it seems
> Thomas> that it's wrong (or is it an innovation of ada 2005 ?)
>
> I doubt Ada2005 has had any influence on a GNAT.* package :)

I don't remember if it was in the old versions of GNAT or not

But it may be a GNAT enhancement :-)


-- 
j'agis contre l'assistanat, je travaille dans une SCOP !




More information about the AdaSockets mailing list