--0-1211911827-12469895969876
Content-Type: text/plain; charset=us-ascii

I wonder if it's possible that there is a permissions issue where scripts don't have sufficient permissions. I think windows makes a distinction between scripts and executables, and ruby is a script language.

I wonder what happens if you run a tool to convert the ruby app to an exe if it would still fail or maybe fail with some error message that might give a better clue about what is wrong

PS: I top post so folks don't have to scroll through all the already read stuff, to see the reply.




________________________________
From: Randy General <randygeneral / gmail.com>
To: ruby-talk ML <ruby-talk / ruby-lang.org>
Sent: Tuesday, July 7, 2009 10:54:41 AM
Subject: Re: App fails on Windows, but works on OS X.

Greg Willits wrote:
> Randy General wrote:
>> I've been working on a query app for Battlefield 2142 servers, and the
>> following app always fails on some IPs in Windows:
> 
> Sounds suspiciously like a networking issue -- firewall, port conflict, 
> something of that nature where the machines that fail, have different 
> settings or environment. Maybe the internal software firewall of those 
> machines?
> 
> -- gw

Hi Greg,
Thanks for responding.

The systems I tried were all on separate networks, two of them were on 
residential ISP networks (but different networks) and the last one was 
in a data centre. I don't believe there's any software firewalls on the 
machines that would block it, and the mac that was able to connect was 
behind the same network as one of those Windows machines that could not 
connect.

To add something even more peculiar, I have another app that sends out 
the exact same packets to 2142 servers (a windows based app coded in 
C++) and it has no problem receiving a response.
-- 
Posted via http://www.ruby-forum.com/.
--0-1211911827-12469895969876--