Re: [Oorexx-devel] Sockets on Linux (redux)

2008-10-09 Thread Jack Woehr
David Ruggles wrote: I'm not here to argue which one is correct (I'm sure Linux is) However, it's not working even in accordance with what's documented. Excuse me for misunderstanding your problem. I thought you were troubled merely w/r/t the skew between L and W. Do you have a copy of ?

Re: [Oorexx-devel] Sockets on Linux (redux)

2008-10-09 Thread David Ruggles
A MCSE (NT) CNA A+ Network EngineerSafe Data, Inc. (910) 285-7200 [EMAIL PROTECTED] -Original Message- From: Jack Woehr [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2008 2:36 PM To: Open Object Rexx Developer Mailing List Subject: Re: [Oorexx-devel] Sockets on Linux (r

Re: [Oorexx-devel] Sockets on Linux (redux)

2008-10-09 Thread Jack Woehr
David Ruggles wrote: > As I mentioned before Linux seems to treat sockets differently then windows. > No, Windows treats sockets differently than Linux, always has, and has often been wrong thereby. The crappy Redmond implementation in NT throughout the 1990's helped create a wider market for

[Oorexx-devel] Sockets on Linux (redux)

2008-10-09 Thread David Ruggles
As I mentioned before Linux seems to treat sockets differently then windows. In continuing my testing I've stumbled upon a new issue. Since I wasn't able to get the timeout to work on either platform, I modified the server code to create a socket and connect to itself to shutdown. This works on bo

Re: [Oorexx-devel] Sockets on Linux

2008-10-08 Thread David Ruggles
t: Tuesday, October 07, 2008 3:30 PM To: Open Object Rexx Developer Mailing List Subject: Re: [Oorexx-devel] Sockets on Linux David Ruggles wrote: > retc = SockSetSockOpt(s, 'SOL_SOCKET', 'SO_RCVTIMEO', 180) -- 3 minutes > > This returns zero on windows but sockaccep

Re: [Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ashley
David Ruggles wrote: > retc = SockSetSockOpt(s, 'SOL_SOCKET', 'SO_RCVTIMEO', 180) -- 3 minutes > > This returns zero on windows but sockaccept still doesn't time out; on Linux > it returns -1 with an error code of 22 which is "Invalid Argument" > > It didn't work with the class either. > > Thanks,

Re: [Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ruggles
retc = SockSetSockOpt(s, 'SOL_SOCKET', 'SO_RCVTIMEO', 180) -- 3 minutes This returns zero on windows but sockaccept still doesn't time out; on Linux it returns -1 with an error code of 22 which is "Invalid Argument" It didn't work with the class either. Thanks, David Ruggles CCNA MCSE (NT) CNA

Re: [Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ashley
gt; -Original Message- > From: David Ashley [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 07, 2008 12:07 PM > To: Open Object Rexx Developer Mailing List > Subject: Re: [Oorexx-devel] Sockets on Linux > > > David Ruggles wrote: > >> I saw that Mark mod

Re: [Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ruggles
esday, October 07, 2008 12:07 PM To: Open Object Rexx Developer Mailing List Subject: Re: [Oorexx-devel] Sockets on Linux David Ruggles wrote: > I saw that Mark modified the socket samples to include the shebang line so > you can execute them on Linux. > > Well I realized I hadn'

Re: [Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ashley
David Ruggles wrote: > I saw that Mark modified the socket samples to include the shebang line so > you can execute them on Linux. > > Well I realized I hadn't tested them on Linux so I have started to do that. > I ran in to an issue, but I don't know if it is something we can fix or not. > > When

[Oorexx-devel] Sockets on Linux

2008-10-07 Thread David Ruggles
I saw that Mark modified the socket samples to include the shebang line so you can execute them on Linux. Well I realized I hadn't tested them on Linux so I have started to do that. I ran in to an issue, but I don't know if it is something we can fix or not. When you issue a sockaccept it will ha