TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy

TEAM-ADA@LISTSERV.ACM.ORG

Options: Use Classic View

Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: "Team Ada: Ada Advocacy Issues (83 & 95)" <[log in to unmask]>
From: Thomas W Moran <[log in to unmask]>
Date: Mon, 26 Oct 1998 21:11:03 -0500
Parts/Attachments: text/plain (13 lines)
>I am looking for sample code for doing socket programming under Unix
>and Windows in Ada95.
  It's only available for Windows, and it's only 'free' in the sense
the source code is available, but Claw 1.2 has a thick binding, and
sample code using it, for sockets.  eg, simple blocking sockets are
controlled objects and can be handled like files (a la Java) with
Open, Read (with timeout), Write, and Close (plus appropriate other
utilities).  Non-blocking sockets add overridable When_Connect,
When_Readable, etc.  You can still get directly at the Winsock
handles and such if you really need some low-level mucking.
  It seems conveniently usable to me - but then I wrote it. ;)
Tom Moran

ATOM RSS1 RSS2