From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,17a9cc7d5a5720a5,start X-Google-Attributes: gid103376,public From: "Marin D. Condic" Subject: Example Of Sockets Programming In Ada Date: 2000/03/04 Message-ID: <38C1662E.7218D7C4@quadruscorp.com>#1/1 X-Deja-AN: 593112108 Content-Transfer-Encoding: 7bit Organization: Quadrus Corporation X-Sender: "Marin D. Condic" (Unverified) X-Server-Date: 4 Mar 2000 16:38:25 GMT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-03-04T16:38:25+00:00 List-Id: In the "For What Its Worth" category, I have put a small client/server application on my web page which illustrates how to use the Win32.Winsock interface to establish TCP/IP communication. It is a simple enough application that it may be helpful to you if you have not used this interface before and would like to learn how to make it work. You can find a link to the code on: http://www.mcondic.com/Ada_Programming.html If you look it over and have some suggestions for improvements, drop me a line. This example handles only one client and uses blocking calls. I would like to put together examples that handle multiple clients and non-blocking calls (possibly using tasks?) so if you have any thoughts on this e-mail me. Also, many thanks to Jerry van Dijk for helping me sort out the linking issues and to Tom Moran for getting my mind right about the WSAStartup calls. MDC -- ============================================================= Marin David Condic - Quadrus Corporation - 1.800.555.3393 1015-116 Atlantic Boulevard, Atlantic Beach, FL 32233 http://www.quadruscorp.com/ m c o n d i c @ q u a d r u s c o r p . c o m ***PLEASE REMOVE THE "-NOSPAM" PART OF MY RETURN ADDRESS*** Visit my web site at: http://www.mcondic.com/ "Because that's where they keep the money." -- Willie Sutton when asked why he robbed banks. =============================================================