www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - sockets.d

reply Kris <Kris_member pathlink.com> writes:
 Fixed major bug in the linux version.
May I ask what that bug was, Vathix? There's been a strange one lingering in this area within Mango for some time, and I wonder if it might be somehow related? - Kris
Feb 28 2005
parent reply Vathix <vathix dprogramming.com> writes:
On Tue, 1 Mar 2005 05:14:37 +0000 (UTC), Kris <Kris_member pathlink.com>  
wrote:

 Fixed major bug in the linux version.
May I ask what that bug was, Vathix? There's been a strange one lingering in this area within Mango for some time, and I wonder if it might be somehow related? - Kris
O_NONBLOCK was set to 0x4000 instead of octal 04000; a couple other constants were wrong that I think you fixed in Mango; SocketSet wasn't managing the sockets correctly; first parameter to C select() wasn't correct. I'm surprised it even worked on linux ;) - Chris
Feb 28 2005
parent reply Kris <Kris_member pathlink.com> writes:
In article <opsmx1u6svkcck4r pm7-ppp033.dialup.wzrd.com>, Vathix says...
On Tue, 1 Mar 2005 05:14:37 +0000 (UTC), Kris <Kris_member pathlink.com>  
wrote:

 Fixed major bug in the linux version.
May I ask what that bug was, Vathix? There's been a strange one lingering in this area within Mango for some time, and I wonder if it might be somehow related? - Kris
O_NONBLOCK was set to 0x4000 instead of octal 04000; a couple other constants were wrong that I think you fixed in Mango; SocketSet wasn't managing the sockets correctly; first parameter to C select() wasn't correct. I'm surprised it even worked on linux ;) - Chris
Thank you! While we're on the subject, I'd really like to move Mango onto your standard release. But there's some subtleties involved. Can we compare notes (perhaps offline?) to see if that might work out? Cheers; - Kris
Feb 28 2005
parent reply Vathix <vathix dprogramming.com> writes:
 While we're on the subject, I'd really like to move Mango onto your
 standard release.
Not sure what you mean. Do you mean you want to update Mango so that it includes the socket updates?
 But there's some subtleties involved. Can we compare notes
 (perhaps offline?) to see if that might work out?
How about IRC? I updated the wiki, http://www.prowiki.org/wiki4d/wiki.cgi?IRC - Chris
Feb 28 2005
parent Brad Anderson <brad dsource.dot.org> writes:
If you guys get a chance, take a look at Mango's version.  There are two 
unittest blocks that are outside of the classes they're testing.  When 
building with Derek's 'Build' tool, that has -unittest on by default, 
the tests fail.  I moved them inside the classes and got the project to 
compile.

The O_NONBLOCK thing may be the next problem I ran into before stopping, 
and I'll try to apply that and see if I get further, although I'm not 
sure if there are more fundamental differences in the Mango version and 
the up-to-date one.

Thanks,
BA

Vathix wrote:
 While we're on the subject, I'd really like to move Mango onto your
 standard release.
Not sure what you mean. Do you mean you want to update Mango so that it includes the socket updates?
 But there's some subtleties involved. Can we compare notes
 (perhaps offline?) to see if that might work out?
How about IRC? I updated the wiki, http://www.prowiki.org/wiki4d/wiki.cgi?IRC - Chris
Mar 01 2005