comp.lang.ada
 help / color / mirror / Atom feed
From: "Frans Bouwmans" <fbouwmans@spiditel.nl>
Subject: Re: linking problem when using sockets with gnat 3.10p1 for NT
Date: 1998/07/28
Date: 1998-07-28T00:00:00+00:00	[thread overview]
Message-ID: <6pkudq$jn9$1@cadmium.aware.nl> (raw)
In-Reply-To: 01bdb5d6$db0ad170$50c809c0@Saturn


Tom Griest heeft geschreven in bericht
<01bdb5d6$db0ad170$50c809c0@Saturn>...
>Frans Bouwmans <fbouwmans@spiditel.nl> wrote in article
<6p5k11$iof$1@cadmium.aware.nl>...
>> I'm trying to use sockets in ada with gnat 3.10
>
>[lots-o-snips]
>
This indeed solved the linking problem, later I found that I also have to
call "WSAstartup" before
a connection can be made. Unfortunately my code which was originally for
sparc used representation
clause to specify the layout of records to be sent over the socket. It took
a day to find the actual
translation from big endian to little endian so the rep clauses match. But I
got it working.

Unfortunately I started of with the socket programming before I read the
reply of Jerry van Dijk, so
I wrote my own socket server generic

Thanks for the prompt replies

Frans Bouwmans






  reply	other threads:[~1998-07-28  0:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-22  0:00 linking problem when using sockets with gnat 3.10p1 for NT Frans Bouwmans
1998-07-23  0:00 ` Tom Griest
1998-07-28  0:00   ` Frans Bouwmans [this message]
1998-07-23  0:00 ` Jerry van Dijk
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox