Winsock2 Binding
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;
----------------------------------------------------
Contributed by: James Winters
Contributed on: June 3, 1999
Last updated on: June 15, 1999
License: Public Domain
Back