Re: [Chicken-users] Issues with socket egg

2013-06-17 Thread Michele La Monaca
On Sat, Jun 15, 2013 at 1:00 AM, Jim Ursetto zbignie...@gmail.com wrote:
 On May 8, 2013, at 8:48 AM, Michele La Monaca mikele.chic...@lamonaca.net 
 wrote:


 2) The egg doesn’t install on Cygwin due to the unbound identifier
 'SO_EXCLUSIVEADDRUSE' (mingw only?). Dropping the related option
 (so/exclusiveaddruse) solves the problem.

 When you get a chance, can you check out this repository (a superset of 
 socket, tcp6 and udp6):

 https://bitbucket.org/ursetto/rfc2553

 and run `chicken-install socket.setup` from the checkout directory to install 
 it?

 I believe this should fix the Cygwin problem.

Yes, it does. Thanks.

If you care, in Mingw/Msys installation works but it does complain
about the redefinition of EINVAL and errno by socket.h

Michele

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Issues with socket egg

2013-06-17 Thread Jim Ursetto
On Jun 17, 2013, at 12:10 PM, Michele La Monaca mikele.chic...@lamonaca.net 
wrote:

 On Sat, Jun 15, 2013 at 1:00 AM, Jim Ursetto zbignie...@gmail.com wrote:
 I believe this should fix the Cygwin problem.
 
 Yes, it does. Thanks.
 
 If you care, in Mingw/Msys installation works but it does complain
 about the redefinition of EINVAL and errno by socket.h

Indeed, these are both intentional redefinitions.  Thanks for testing this.

Jim
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Issues with socket egg

2013-06-14 Thread Jim Ursetto
On May 8, 2013, at 8:48 AM, Michele La Monaca mikele.chic...@lamonaca.net 
wrote:

 
 2) The egg doesn’t install on Cygwin due to the unbound identifier
 'SO_EXCLUSIVEADDRUSE' (mingw only?). Dropping the related option
 (so/exclusiveaddruse) solves the problem.

When you get a chance, can you check out this repository (a superset of socket, 
tcp6 and udp6):

https://bitbucket.org/ursetto/rfc2553

and run `chicken-install socket.setup` from the checkout directory to install 
it?

I believe this should fix the Cygwin problem.

Jim
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Issues with socket egg

2013-06-14 Thread John Cowan
Jim Ursetto scripsit:
 On May 8, 2013, at 8:48 AM, Michele La Monaca mikele.chic...@lamonaca.net 
 wrote:
 
  
  2) The egg doesn’t install on Cygwin due to the unbound identifier
  'SO_EXCLUSIVEADDRUSE' (mingw only?). Dropping the related option
  (so/exclusiveaddruse) solves the problem.
 
 When you get a chance, can you check out this repository (a superset of 
 socket, tcp6 and udp6):
 
 https://bitbucket.org/ursetto/rfc2553
 
 and run `chicken-install socket.setup` from the checkout directory to install 
 it?
 
 I believe this should fix the Cygwin problem.

You have to be a local Windows admin to set SO_EXCLUSIVEADDRUSE
on at least some versions of Windows.

-- 
John Cowan co...@ccil.org http://www.ccil.org/~cowan
Sir, I quite agree with you, but what are we two against so many?
--George Bernard Shaw,
 to a man booing at the opening of _Arms and the Man_

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] Issues with socket egg

2013-06-14 Thread Jim Ursetto
On Jun 14, 2013, at 6:07 PM, John Cowan co...@mercury.ccil.org wrote:

 
 You have to be a local Windows admin to set SO_EXCLUSIVEADDRUSE
 on at least some versions of Windows.

I know.  It falls back to SO_REUSEADDR in that case, which is broken on Windows 
but better than nothing.

Jim
___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users