AdaPower Logged in as Guest
Ada Tools and Resources

Ada 95 Reference Manual
Ada Source Code Treasury
Bindings and Packages
Ada FAQ


Join >
Articles >
Ada FAQ >
Getting Started >
Home >
Books & Tutorials >
Source Treasury >
Packages for Reuse >
Latest Additions >
Ada Projects >
Press Releases >
Ada Audio / Video >
Home Pages >
Links >
Contact >
About >
Login >
Back
Ada Bindings - WinSock2
Ada Bindings to APIs (Non-GUI Related)

I have made a binding to Winsock2, it is available here.

Also included a small example test.ada, which sets up a session, and gets the
host name and closes the session.

It is completely in the public domain,. It can be
modified, moved sent anywhere, etc.  I'll even fix bugs
if they're reported to me at winters@rmcs.cranfield.ac.uk

---------------------------------
Please accept the following enhancement from James Schapel
(schapel.j@stn-atlas.de)

GNAT complains (understandably):
winsock2.ads:401:59: expected private type "System.Address"

Easily fixed:
WSA_INVALID_EVENT : constant WSAEVENT :=  System.Null_Address;

----------------------------------------------------


(c) 1998-2004 All Rights Reserved David Botton