Search found 6 matches

by fabb
Sun Aug 18, 2013 11:41 am
Forum: General
Topic: Ruby init Method Cannot Access @ins
Replies: 1
Views: 6810

Ruby init Method Cannot Access @ins

I'd like to initialize some instance variables according to the current value on one of the @ins.
@ins is nil in the init method though. Is this a bug?

Workaround: set the instance variable in the event method if it is nil.
by fabb
Fri Aug 16, 2013 10:35 am
Forum: General
Topic: Networking & FS
Replies: 16
Views: 41700

Re: Networking & FS

I've created such a discovery server.
But actually I don't need it, as it's much easier to try to connect to the local address of each active network device in java and use the first one that works...

Maybe if someone needs it, I've attached my efforts.
2 things to mention:
1. Flowstone's Server ...
by fabb
Mon Aug 12, 2013 9:30 pm
Forum: General
Topic: Networking & FS
Replies: 16
Views: 41700

Re: Networking & FS

Actually I use TCP. But the workaround with the UDP Bonjour-like preamble is a good idea, thanks! Let's see if I can incorporate this easily.
by fabb
Mon Aug 12, 2013 5:28 pm
Forum: General
Topic: Networking & FS
Replies: 16
Views: 41700

Re: Networking & FS

I've got an external Java client.

As I said, I have several machine IPs (LAN, Wireless), and no way of knowing which IP Flowstone server binds to. I want to avoid having to enter it manually in my client software everytime. Why doesn't connecting to 127.0.0.1 work? Looks more like a bug to me.
by fabb
Mon Aug 12, 2013 6:04 am
Forum: General
Topic: Networking & FS
Replies: 16
Views: 41700

Re: Networking & FS

Tronic wrote:connect a simple primitive string and leave it blank.

Not sure what you mean, the Server component doesn't have an IP input. Could it be that you are talking about the Client component?
by fabb
Sun Aug 11, 2013 5:03 pm
Forum: General
Topic: Networking & FS
Replies: 16
Views: 41700

Re: Networking & FS


That is what happens when I'm using my own IP address(the address the server outputs) as the Client's input. Configuring the client to use IP's like 'localhost' or '127.0.0.1' don't work at all, giving me a 'Could not connect to server' error.

Either I am doing something wrong, or there's a bug ...