Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Vauteck

Pages: [1]
1
SFML development / Re: Removing dependency binaries
« on: March 11, 2019, 05:27:10 pm »
What about repo tool (https://gerrit.googlesource.com/git-repo/)? Google use this to manage all the 10's of external repositories dependancies of the Android open source project. It seems to be working pretty okay for them.
I've never used the tool myself but I've heard it does a better job than submodules at dealing with multiple git repo's.
Here's a review of the tool (sorry for non french speakers) : http://www.yoannsculo.fr/git-repo-outil-gestion-multiples-repositories-arracher-cheveux/

2
Network / Re: Linking clients and servers on a local network
« on: March 31, 2014, 03:30:01 pm »
Quote
So he definitely doesn't need a master server ;)

I wouldn't rule out the master server solution so fast imho ^^.

First, it's unclear what his needs are ; whilst I agree he stated it's for LAN use at the moment, the broadcast solution has a severe pitfall in that it limits the number of server instances to one per computer. To get rid of that limitation, you can either broadcast to multiple ports (but you're still limited to the number of broadcast messages you send), or you can use an external source to gather infos about ongoing servers.

Secondly, the master server solution scales better (internet, lots of server on LAN, etc...) and is a "cleaner" solution imho ;D.

To sum it up :
      broadcast  => easy and fast to implement (but some limitations).
      master server => more code / logic to implement, but cleaner imho^^.

Cheers

3
Network / Re: Linking clients and servers on a local network
« on: March 31, 2014, 02:17:31 pm »
Ok so basically you want to implement a list of available servers for multiplayer mode (at least that's what I understand).
The broadcast method you described would only work on LAN, not internet (since broadcast messages are not forwarded).
I think the standard way of doing this is to have a "master" server that registers all servers. When you create a server on your local machine, it needs to make a register query to the master server. If the master server identifies the register request as valid, it adds the server to its online servers list.

As a client, you simply make a query to the master server to get the list of all available servers.

A basic server is a combination of an IP address and a port, which then allows to host multiple servers on the same machines with differents ports.

Hope this answers your question.

Cheers

Pages: [1]