My server is on my master list twice, but I am only running one server. It is just a doubled entry as shown by the photo in which I have connected to the server. I think this happened with Luke's Hexatron server too.
I started with the init.d scripts.
Server on Master List Twice
Server on Master List Twice
- Attachments
-
- Picture 1.png
- (8.75 KiB) Downloaded 183 times
That's the effect of SERVER_IP defaulting to "ALL ANY:1", which opens two ports for listening. With out "ANY", the server won't appear on the LAN server browser list. Without "ALL", there is the old problem of your server not appearing on the Internet server browser when it's on your LAN.
Anyway, on poorly configured systems, "ALL" does not have the desired effect anyway (it only works if DNS lookups for the hostname give the public internet address as one of the IPs), so unless both questions below have a positive answer, I'll revert to the old default "ANY'.
Question 1:
Is it possible to tune a socket not bound to INADDR_ANY to accept broadcast backets? Then, we can make the LAN browser work without "ANY".
Question 2:
Is there a reliable way to get all IP addresses of a system? Then, we could make "ALL" work reliably.
Anyway, on poorly configured systems, "ALL" does not have the desired effect anyway (it only works if DNS lookups for the hostname give the public internet address as one of the IPs), so unless both questions below have a positive answer, I'll revert to the old default "ANY'.
Question 1:
Is it possible to tune a socket not bound to INADDR_ANY to accept broadcast backets? Then, we can make the LAN browser work without "ANY".
Question 2:
Is there a reliable way to get all IP addresses of a system? Then, we could make "ALL" work reliably.