From sam at rfc1149.net Sun Nov 4 21:30:49 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Sun, 04 Nov 2007 21:30:49 +0100 Subject: [adasockets] mac os x / intel In-Reply-To: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> Message-ID: <2007-11-04-21-30-50+trackit+sam@rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> hi :-) adasockets 1.8.5 works fine on mac os x / ppc, but not Thomas> on mac os x / intel : The error you describe may be fixed in the latest libtool version. It should be fixed in the next AdaSockets release. Thanks for the report. Thomas> ps : http://www.rfc1149.net/download/adasockets/adasockets.pdf Thomas> is old you could delete it, since it is in the .tgz (or have Thomas> ou a specific reason to keep it ?) You are right, I will remove it. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Sun Nov 4 21:32:07 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Sun, 04 Nov 2007 21:32:07 +0100 Subject: [adasockets] Cross Compiling Ada Sockets In-Reply-To: <46E5D172.3000405@oarcorp.com> (Joel Sherrill's message of "Mon\, 10 Sep 2007 18\:21\:22 -0500") References: <46E5D172.3000405@oarcorp.com> Message-ID: <2007-11-04-21-32-07+trackit+sam@rfc1149.net> >>>>> "Joel" == Joel Sherrill writes: Joel> I am trying to compile adasockets 1.8.5 to on Fedora 7 to target Joel> powerpc-rtems4.8. The cross compiler itself works well. I Joel> can't seem to make the autoconf script happy at all. Yes, AdaSockets has never been ready for cross-compilation as it generates the constants package at compilation time. If I find some time, I'd like to remove this limitation. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Sun Nov 4 21:08:54 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Sun, 04 Nov 2007 21:08:54 +0100 Subject: [adasockets] RTEMS Port of Ada Sockets References: <46EEE9DB.6070401@oarcorp.com> Message-ID: <87640hrcx5.fsf@willow.rfc1149.net> >>>>> "Joel" == Joel Sherrill writes: Joel> I now have a port of Ada Sockets to RTEMS. I have tested on Joel> the i386 and PowerPC. There are two issues but those aren't Joel> enough to make this not worth submitting at this point. Hi Joel. Thanks a lot for your patch. It has been integrated into the AdaSockets development tree[1]. Joel> + As best I can call, stream_listener and stream_sender MUST be Joel> on the same endian CPUs. I assume this is just an issue with the Joel> example but will defer to more those more knowledgeable about Joel> what is going on in the test. This is a restriction of the default 'Read/'Write implementation of GNAT. You can make it use XDR by changing System.Stream_Attributes into the version provided by GLADE. Joel> + multicast does not work from Ada. But as of this moment in Joel> time, I don't have a working C example on RTEMS so I can't blame Joel> that on my port. It works for me. Joel> Hopefully this is worth merging. Please let me know. This is more than worth merging :) Thanks again! Sam Notes: [1] http://www.rfc1149.net/devel/adasockets -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Sun Nov 4 22:04:46 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Sun, 04 Nov 2007 22:04:46 +0100 Subject: [adasockets] AdaSockets 1.8.6 Message-ID: <87myttpvrl.fsf@willow.rfc1149.net> AdaSockets 1.8.6 has been released and contains Joel Sherrill's RTEMS port. You can get it from http://www.rfc1149.net/devel/adasockets Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Sun Nov 4 21:15:13 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Sun, 04 Nov 2007 21:15:13 +0100 Subject: [adasockets] adasockets / GNAT.Sockets References: Message-ID: <871wb5rcmm.fsf@willow.rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> Which is the advantage of adasockets compared to Thomas> GNAT.Sockets ? I prefer its interface, which is of a higher level than GNAT.Sockets one. Thomas> I thought that it was the streams, because GNAT.Sockets would Thomas> not allow to use streams as easily as adasockets, but it seems Thomas> that it's wrong (or is it an innovation of ada 2005 ?) I doubt Ada2005 has had any influence on a GNAT.* package :) Thomas> ps : trashgod at GMAIL.COM said me that he tried posting to this Thomas> list, but the message never came back. Could you look at it, Thomas> please ? I have no track of this attempt. Could you be more specific? Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From d.l.tDeContes at free.fr Mon Nov 5 16:20:31 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 5 Nov 2007 16:20:31 +0100 Subject: [adasockets] mac os x / intel In-Reply-To: <2007-11-04-21-30-50+trackit+sam@rfc1149.net> References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> Message-ID: <23599D94-B76E-43AE-8DA4-D3295708FC4D@free.fr> Le 4 nov. 07 ? 21:30, Samuel Tardieu a ?crit : >>>>>> "Thomas" == Thomas De Contes writes: > > Thomas> hi :-) adasockets 1.8.5 works fine on mac os x / ppc, but not > Thomas> on mac os x / intel : In fact it was between gnat 4.0 / gnat 4.3 > > The error you describe may be fixed in the latest libtool > version. It should be fixed in the next AdaSockets release. Thanks for > the report. Thank you, it works fine :-) btw, Could you make a project file (.gpr) for adasockets please ? :-) I use them since i use AWS, and i find them very usefull :-) And could you make an "udprelay", as an example moreover, please ? It would be usefull too :-) -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Mon Nov 5 16:40:31 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 5 Nov 2007 16:40:31 +0100 Subject: [adasockets] RTEMS Port of Ada Sockets In-Reply-To: <87640hrcx5.fsf@willow.rfc1149.net> References: <46EEE9DB.6070401@oarcorp.com> <87640hrcx5.fsf@willow.rfc1149.net> Message-ID: <0E6E3FDB-C670-4C78-9C8B-BF2EC8783788@free.fr> Le 4 nov. 07 ? 21:08, Samuel Tardieu a ?crit : > Thanks a lot for your patch. It has been integrated into the > AdaSockets development tree[1]. btw, Why have you moved from mercurial to git, without passing by svn ? Don't you like svn ? (I don't know svn more than cvs or others, but every open source projects use it :-) ) > Joel> + As best I can call, stream_listener and stream_sender MUST be > Joel> on the same endian CPUs. I assume this is just an issue with the > Joel> example but will defer to more those more knowledgeable about > Joel> what is going on in the test. > > This is a restriction of the default 'Read/'Write implementation of > GNAT. You can make it use XDR by changing System.Stream_Attributes > into the version provided by GLADE. I'm interested by this kind of problem What's XDR ? And how does it resolve this problem ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From sam at rfc1149.net Mon Nov 5 16:51:12 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Mon, 5 Nov 2007 16:51:12 +0100 Subject: [adasockets] RTEMS Port of Ada Sockets In-Reply-To: <0E6E3FDB-C670-4C78-9C8B-BF2EC8783788@free.fr> References: <46EEE9DB.6070401@oarcorp.com> <87640hrcx5.fsf@willow.rfc1149.net> <0E6E3FDB-C670-4C78-9C8B-BF2EC8783788@free.fr> Message-ID: <2007-11-05-16-51-12+trackit+sam@rfc1149.net> On 5/11, Thomas De?Contes wrote: > btw, Why have you moved from mercurial to git, without passing by svn ? > Don't you like svn ? > > (I don't know svn more than cvs or others, but every open source projects > use it :-) ) Are you kidding? SVN is almost as limited as CVS. Fortunately, many projects use Mercurial or GIT. > What's XDR ? And how does it resolve this problem ? http://en.wikipedia.org/wiki/External_Data_Representation From sam at rfc1149.net Mon Nov 5 16:52:24 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Mon, 5 Nov 2007 16:52:24 +0100 Subject: [adasockets] mac os x / intel In-Reply-To: <23599D94-B76E-43AE-8DA4-D3295708FC4D@free.fr> References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> <23599D94-B76E-43AE-8DA4-D3295708FC4D@free.fr> Message-ID: <2007-11-05-16-52-24+trackit+sam@rfc1149.net> On 5/11, Thomas De?Contes wrote: > Could you make a project file (.gpr) for adasockets please ? :-) > I use them since i use AWS, and i find them very usefull :-) Feel free to contribute one. > And could you make an "udprelay", as an example moreover, please ? It would > be usefull too :-) Feel free to contribute one too. Sam From d.l.tDeContes at free.fr Mon Nov 5 18:16:08 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Mon, 5 Nov 2007 18:16:08 +0100 Subject: [adasockets] adasockets / GNAT.Sockets In-Reply-To: <871wb5rcmm.fsf@willow.rfc1149.net> References: <871wb5rcmm.fsf@willow.rfc1149.net> Message-ID: <43AB2356-833A-44DE-9EDF-C0293189EFCC@free.fr> Le 4 nov. 07 ? 21:15, Samuel Tardieu a ?crit : >>>>>> "Thomas" == Thomas De Contes writes: > > Thomas> Which is the advantage of adasockets compared to > Thomas> GNAT.Sockets ? > > I prefer its interface, which is of a higher level than GNAT.Sockets > one. Could you give me some examples, please ? Looking at PingPong example (in GNAT.Sockets), i don't see anything else than Initialize and Finalize, Is it enough to say that it is higher level ? > > Thomas> I thought that it was the streams, because GNAT.Sockets would > Thomas> not allow to use streams as easily as adasockets, but it seems > Thomas> that it's wrong (or is it an innovation of ada 2005 ?) > > I doubt Ada2005 has had any influence on a GNAT.* package :) I don't remember if it was in the old versions of GNAT or not But it may be a GNAT enhancement :-) -- j'agis contre l'assistanat, je travaille dans une SCOP ! From sam at rfc1149.net Tue Nov 6 12:26:34 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Tue, 06 Nov 2007 12:26:34 +0100 Subject: [adasockets] adasockets / GNAT.Sockets References: <871wb5rcmm.fsf@willow.rfc1149.net> <43AB2356-833A-44DE-9EDF-C0293189EFCC@free.fr> Message-ID: <871wb3haxh.fsf@willow.rfc1149.net> Thomas> Which is the advantage of adasockets compared to GNAT.Sockets Thomas> ? Sam> I prefer its interface, which is of a higher level than Sam> GNAT.Sockets one. Thomas> Could you give me some examples, please ? Thomas> Looking at PingPong example (in GNAT.Sockets), i don't see Thomas> anything else than Initialize and Finalize, Is it enough to Thomas> say that it is higher level ? This is a fair question. When AdaSockets was written, there was no GNAT.Sockets. Now that GNAT.Sockets has evolved, the useless of AdaSockets has been diminished. Note that I started a branch to rebase AdaSockets on GNAT.Sockets so that we can benefit from its ability to be cross-compiled (constants packages are generated for many platforms and distributed): http://www.rfc1149.net/git/?p=adasockets.git;a=shortlog;h=gnat-sockets However, there is a long way to be entirely GNAT.Sockets based while keeping the same interface. I think I may do a last major release on the 1.x branch (probably 1.9) which will be the same as 1.8.x (same interface) + cross-compilation capabilities. This branch will then be maintained but only accumulate bug fixes if needed. I will also maintain the 1.8.x branch with no dependency over GNAT.Sockets if there is a need for that. I'll then see if there is a point in making a AdaSockets 2.x. In this case, the interface would change a little, and AdaSockets would be a package which enhances GNAT.Sockets with more high-level services. But as I have been doing for several years for all my free software projects, I will only write code for services that *I* need. If people need some other services, they will have to write them. Of course, I will provide assistance and be happy to integrate them in the AdaSockets distribution if they are well written, if they have a compatible licence, and if the author wants me to do so. What do you think about this plan? Sam PS/ If you wish to test the refactoring branch, you can either use GIT or grab a snapshot from the URL given above. You will need to have a recent autoconf and automake installed, and to run "autoreconf -i" in the top-level directory to add the auto-generated files such as "configure". I'd be happy to receive success or failure reports with details on your platform. -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Tue Nov 6 13:42:02 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Tue, 06 Nov 2007 13:42:02 +0100 Subject: [adasockets] adasockets / GNAT.Sockets References: <871wb5rcmm.fsf@willow.rfc1149.net> <43AB2356-833A-44DE-9EDF-C0293189EFCC@free.fr> <871wb3haxh.fsf@willow.rfc1149.net> Message-ID: <87sl3jfsv9.fsf@willow.rfc1149.net> >>>>> "Sam" == Samuel Tardieu writes: Sam> This is a fair question. When AdaSockets was written, there was Sam> no GNAT.Sockets. Now that GNAT.Sockets has evolved, the useless Sam> of AdaSockets has been diminished. s/useless/usefulness/ of course :) From sam at rfc1149.net Tue Nov 6 19:27:39 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Tue, 06 Nov 2007 19:27:39 +0100 Subject: [adasockets] AdaSockets 1.9-alpha1 is available Message-ID: <87ode7fcv8.fsf@willow.rfc1149.net> I'd like people to test the AdaSockets 1.9-alpha1 release. In the last few days, I have rewritten large parts of AdaSockets to use GNAT.Sockets while trying to be 100% compatible with the established usage. In this release, there are no more system-specific files as GNAT.Sockets takes care of the system-dependent parts already. You can get it from: http://www.rfc1149.net/download/adasockets/experimental/adasockets-1.9-alpha1.tar.gz The release notes for this version are: | * New in AdaSockets 1.9 | | AdaSockets 1.9 is a rewrite of large parts of AdaSockets. It is based on | GNAT.Sockets while keeping an interface compatible with the 1.8.x branch | of AdaSockets. | | Some rarely used user-visible subprograms and constants have been removed: | - Sockets.Customized_Setsockopt | - Sockets.Socketpair | - Sockets.SO_REUSEPORT | - Function depending on internal type Sockets.Types.In_Addr in | package Sockets.Naming It has been tested on Debian GNU/Linux x86 with gcc-4.1 and current gcc development branch as well as on SunOS 5.10 Sparc with GNAT Pro 6.0.1. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From d.l.tDeContes at free.fr Thu Nov 15 04:43:33 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Thu, 15 Nov 2007 04:43:33 +0100 Subject: [adasockets] mac os x / intel In-Reply-To: <2007-11-04-21-30-50+trackit+sam@rfc1149.net> References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> Message-ID: <7D9473BD-B2D2-4556-A549-B056CE345315@free.fr> Le 4 nov. 07 ? 21:30, Samuel Tardieu a ?crit : >>>>>> "Thomas" == Thomas De Contes writes: > > Thomas> http://www.rfc1149.net/download/adasockets/adasockets.pdf > Thomas> is old You could delete it, since it is in the .tgz (or have > Thomas> you a specific reason to keep it ?) > > You are right, I will remove it. Well, there is a pb :-/ The .pdf in http://www.rfc1149.net/download/adasockets/ adasockets-1.8.6.tar.gz is 0 byte length :-( How can one get the doc, please ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Thu Nov 15 04:50:58 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Thu, 15 Nov 2007 04:50:58 +0100 Subject: [adasockets] mac os x / intel In-Reply-To: <2007-11-05-16-52-24+trackit+sam@rfc1149.net> References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> <23599D94-B76E-43AE-8DA4-D3295708FC4D@free.fr> <2007-11-05-16-52-24+trackit+sam@rfc1149.net> Message-ID: <94CC3FB9-97C2-4D92-A1D5-7A62B64E747A@free.fr> Le 5 nov. 07 ? 16:52, Samuel Tardieu a ?crit : > On 5/11, Thomas De Contes wrote: > >> Could you make a project file (.gpr) for adasockets please ? :-) >> I use them since i use AWS, and i find them very usefull :-) > > Feel free to contribute one. I don't know project files enough for that If someone wants to do it, i know that gtkada does allow both gtkada-config and project files, so you can make the comparison, then look at adasockets-config to see what is needed If noone wants, no mater, i'll use adasockets-config on top of my project files, i think it's compatible :-) > >> And could you make an "udprelay", as an example moreover, please ? >> It would >> be usefull too :-) > > Feel free to contribute one too. Ok :-) I need it (and it is under my competences), so i do it :-) http://dl.free.fr/iHQYK02sl/udprelay.adb But i need your help on udp sockets usage : What should i do instead of Connect l 96 ? btw, What does Setsockopt l 91 exactly ? is it needed ? What do you think about other code ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Thu Nov 15 05:07:40 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Thu, 15 Nov 2007 05:07:40 +0100 Subject: [adasockets] RTEMS Port of Ada Sockets In-Reply-To: <2007-11-05-16-51-12+trackit+sam@rfc1149.net> References: <46EEE9DB.6070401@oarcorp.com> <87640hrcx5.fsf@willow.rfc1149.net> <0E6E3FDB-C670-4C78-9C8B-BF2EC8783788@free.fr> <2007-11-05-16-51-12+trackit+sam@rfc1149.net> Message-ID: <31A26EFB-F132-417F-BA83-9F43420FCCD7@free.fr> Le 5 nov. 07 ? 16:51, Samuel Tardieu a ?crit : > On 5/11, Thomas De Contes wrote: > >> btw, Why have you moved from mercurial to git, without passing by >> svn ? >> Don't you like svn ? >> >> (I don't know svn more than cvs or others, but every open source >> projects >> use it :-) ) > > Are you kidding? SVN is almost as limited as CVS. Fortunately, many > projects use Mercurial or GIT. Sorry, I had to say "every open source projects that i know" :-) On my platform, I have this choice : cogito devel/cogito 0.18.2 Git core and cogito tools to provide a fully-distributed SCM git-core devel/git-core 1.5.3.4 The stupid content tracker. stgit devel/stgit 0.13 Push/pop utility on top of GIT cgit www/cgit 0.6.2 A fast web interface for the git source code management system Which of them should i install ? > >> What's XDR ? And how does it resolve this problem ? > > http://en.wikipedia.org/wiki/External_Data_Representation Thank you :-) -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Thu Nov 15 18:03:42 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Thu, 15 Nov 2007 18:03:42 +0100 Subject: [adasockets] RTEMS Port of Ada Sockets In-Reply-To: <473BF009.9040309@wanadoo.fr> References: <46EEE9DB.6070401@oarcorp.com> <87640hrcx5.fsf@willow.rfc1149.net> <0E6E3FDB-C670-4C78-9C8B-BF2EC8783788@free.fr> <2007-11-05-16-51-12+trackit+sam@rfc1149.net> <31A26EFB-F132-417F-BA83-9F43420FCCD7@free.fr> <473BF009.9040309@wanadoo.fr> Message-ID: <8B6277EF-80DA-4688-826D-A82943326FED@free.fr> Le 15 nov. 07 ? 08:06, Pascal Obry a ?crit : > Thomas De Contes a ?crit : >> cogito devel/cogito 0.18.2 Git core >> and cogito tools to provide a fully-distributed SCM >> git-core devel/git-core 1.5.3.4 The stupid >> content tracker. > > git-core is the one you want. thank you :-) > >> stgit devel/stgit 0.13 Push/pop >> utility on top of GIT >> cgit www/cgit 0.6.2 A fast web >> interface for the git source code management system >> >> Which of them should i install ? > > git-core contains git-gui and gittk two GUI for git. If you prefer a > text based UI try tig. I don't find anything, when i search for "tig" I just want to run "git clone git://www.rfc1149.net/adasockets.git" as described on http://www.rfc1149.net/devel/adasockets Is git-core enough for that ? -- j'agis contre l'assistanat, je travaille dans une SCOP ! From d.l.tDeContes at free.fr Fri Nov 16 13:02:40 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Fri, 16 Nov 2007 13:02:40 +0100 Subject: [adasockets] adasockets / GNAT.Sockets In-Reply-To: <871wb3haxh.fsf@willow.rfc1149.net> References: <871wb5rcmm.fsf@willow.rfc1149.net> <43AB2356-833A-44DE-9EDF-C0293189EFCC@free.fr> <871wb3haxh.fsf@willow.rfc1149.net> Message-ID: <5B3B520D-00CD-48BD-8232-5B106B7B734A@free.fr> Le 6 nov. 07 ? 12:26, Samuel Tardieu a ?crit : > Thomas> Which is the advantage of adasockets compared to GNAT.Sockets > Thomas> ? > > Sam> I prefer its interface, which is of a higher level than > Sam> GNAT.Sockets one. > > Thomas> Could you give me some examples, please ? > > Thomas> Looking at PingPong example (in GNAT.Sockets), i don't see > Thomas> anything else than Initialize and Finalize, Is it enough to > Thomas> say that it is higher level ? > > This is a fair question. When AdaSockets was written, there was no > GNAT.Sockets. Now that GNAT.Sockets has evolved, the useless of > AdaSockets has been diminished. ok, i understand :-) > > Note that I started a branch to rebase AdaSockets on GNAT.Sockets so > that we can benefit from its ability to be cross-compiled > However, there is a long way to be entirely GNAT.Sockets based while > keeping the same interface. I think I may do a last major release on > the 1.x branch (probably 1.9) which will be the same as 1.8.x (same > interface) + cross-compilation capabilities. This branch will then be > maintained but only accumulate bug fixes if needed. > I'll then see if there is a point in making a AdaSockets 2.x. In this > case, the interface would change a little, and AdaSockets would be a > package which enhances GNAT.Sockets with more high-level services. Cool :-) Will you make Sockets.Naming.Address an array rather than a record, like GNAT.Sockets.Inet_Addr_Type ? Will you make a Port type, "Natural range 0 .. 2**16-1", rather than only "Natural" ? Or is this limit OS-dependent ? Will you make a package like Sockets.String_IO where you will move all what is specific to String-oriented exchanges ? For the moment I did not start a program which uses any socket, but i need to make one Well, should i rather use AdaSockets or GNAT.Sockets ? (That's the question which I put myself) Since i use AWS, i need GNAT It seems that just at this moment, AdaSockets does not provide much more than GNAT.Sockets, But maybe when you will have made AdaSockets 2.x and more high-level services, it will be easier to move to them from AdaSockets 1.x than from GNAT.Sockets > PS/ If you wish to test the refactoring branch, you can either use GIT > or grab a snapshot from the URL given above. is it http://www.rfc1149.net/download/adasockets/experimental/ adasockets-1.9-alpha1.tar.gz ? > You will need to have > a recent autoconf and automake installed, and to run > "autoreconf -i" > in the top-level directory to add the auto-generated files such as > "configure". I'd be happy to receive success or failure reports > with details on your platform. I agree to make this test, but I need to be completely guided Can i insall adasockets-1.9-alpha1.tar.gz like any other version, with ./configure --prefix=$DOSSIERDINSTALLATION || exit make install || exit ? Since I did not start a program which uses any socket, i don't think that i can test more than the installation But if you want that i make a specific test, feel free to ask me :-) -- j'agis contre l'assistanat, je travaille dans une SCOP ! From sam at rfc1149.net Mon Nov 19 17:44:28 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Mon, 19 Nov 2007 17:44:28 +0100 Subject: [adasockets] mac os x / intel References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> <7D9473BD-B2D2-4556-A549-B056CE345315@free.fr> Message-ID: <874pfi2nir.fsf@willow.rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> Well, there is a pb :-/ The .pdf in Thomas> http://www.rfc1149.net/download/adasockets/ Thomas> adasockets-1.8.6.tar.gz is 0 byte length :-( Thomas> How can one get the doc, please ? You can remove it and it should get regenerated when you do "make" (provided you installed the proper tools). I will make a new package one of those days with the doc fixed, thanks for the heads up. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Mon Nov 19 17:44:28 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Mon, 19 Nov 2007 17:44:28 +0100 Subject: [adasockets] mac os x / intel References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> <7D9473BD-B2D2-4556-A549-B056CE345315@free.fr> Message-ID: <874pfi2nir.fsf@willow.rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> Well, there is a pb :-/ The .pdf in Thomas> http://www.rfc1149.net/download/adasockets/ Thomas> adasockets-1.8.6.tar.gz is 0 byte length :-( Thomas> How can one get the doc, please ? You can remove it and it should get regenerated when you do "make" (provided you installed the proper tools). I will make a new package one of those days with the doc fixed, thanks for the heads up. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From sam at rfc1149.net Mon Nov 19 17:51:41 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Mon, 19 Nov 2007 17:51:41 +0100 Subject: [adasockets] mac os x / intel References: <5C2DCDA7-FE92-4EF2-8C39-52200EBF026E@free.fr> <2007-11-04-21-30-50+trackit+sam@rfc1149.net> <23599D94-B76E-43AE-8DA4-D3295708FC4D@free.fr> <2007-11-05-16-52-24+trackit+sam@rfc1149.net> <94CC3FB9-97C2-4D92-A1D5-7A62B64E747A@free.fr> Message-ID: <87zlxa18ma.fsf@willow.rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> Ok :-) I need it (and it is under my competences), so i do it Thomas> :-) http://dl.free.fr/iHQYK02sl/udprelay.adb Thanks. Thomas> But i need your help on udp sockets usage : What should i do Thomas> instead of Connect l 96 ? Doesn't it work as-is? Thomas> btw, What does Setsockopt l 91 exactly ? is it needed ? >From the socket(7) Linux manpage: | SO_REUSEADDR | Indicates that the rules used in validating addresses supplied | in a bind(2) call should allow reuse of local addresses. For | PF_INET sockets this means that a socket may bind, except when | there is an active listening socket bound to the address. When | the listening socket is bound to INADDR_ANY with a specific port | then it is not possible to bind to this port for any local | address. Argument is an integer boolean flag. Thomas> What do you think about other code ? It looks fine, although I haven't tried it. Did you? Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/ From d.l.tDeContes at free.fr Wed Nov 28 02:54:19 2007 From: d.l.tDeContes at free.fr (=?ISO-8859-1?Q?Thomas_De=A0Contes?=) Date: Wed, 28 Nov 2007 02:54:19 +0100 Subject: [adasockets] for Casing use "mixedcase"; Message-ID: <97ACA245-305C-4408-B2E9-10BDEAF49203@free.fr> hi :-) Help ! I have a very big problem ! (I can't continue to programm :-( ) for Casing use "mixedcase"; is not compatible with adasockets Could you test this, to know whether this problem is portable or is specific to Mac OS X, please ? http://dl.free.fr/mFaw1bRg3/mixedcase.zip When i run compil.command, i get : b~igswprincipal.ads:196:30: external name duplicates name given at line 190 b~igswprincipal.ads:197:30: external name duplicates name given at line 191 gnatmake: *** link failed. -- j'agis contre l'assistanat, je travaille dans une SCOP ! From sam at rfc1149.net Thu Nov 29 10:02:51 2007 From: sam at rfc1149.net (Samuel Tardieu) Date: Thu, 29 Nov 2007 10:02:51 +0100 Subject: [adasockets] for Casing use "mixedcase"; References: <97ACA245-305C-4408-B2E9-10BDEAF49203@free.fr> Message-ID: <87ve7l2zlw.fsf@willow.rfc1149.net> >>>>> "Thomas" == Thomas De?Contes writes: Thomas> hi :-) Help ! I have a very big problem ! (I can't continue Thomas> to programm :-( ) Thomas> for Casing use "mixedcase"; is not compatible with adasockets What is the purpose of that? (remember, I don't use projet files) Thomas> Could you test this, to know whether this problem is portable Thomas> or is specific to Mac OS X, please ? Thomas> http://dl.free.fr/mFaw1bRg3/mixedcase.zip Thomas> When i run compil.command, i get : %gnatmake -Pigsw igswprincipal `adasockets-config` || exit gcc -c -I/usr/local/lib/adasockets -I- -gnatA /tmp/mixedcase/igswprincipal.adb gnatbind -I/usr/local/lib/adasockets -I- -x /tmp/mixedcase/igswprincipal.ali gnatlink /tmp/mixedcase/igswprincipal.ali -L/usr/local/lib/adasockets -L/usr/local/lib -ladasockets -o /tmp/mixedcase/igswprincipal No problem. This is on i686-pc-linux-gnu with GNAT 4.3.0 200711028 (experimental) and the latest AdaSockets. Sam -- Samuel Tardieu -- sam at rfc1149.net -- http://www.rfc1149.net/