-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with initialization of class TcpCustomServerProtocolSetup #71
Comments
Hi Peter,
I'm considering marking this property as obsolete in the upcoming version. Looks like I don't have much time (and need) to implement a working service discovery.
What exactly do you get from this property? Or perhaps you need something other than a discoverable URL, in order to check if the server is running? Regards, Alex |
Hi Alex,
You are right.
i use the functionality of Service Discovery in a project. Zyan is really nice cause its simple to make a Server Application which has high availability functions. This is enterprice level. Yes i know the problems with DiscoveryClient. I enhanced the Client cause your Version only sends UDP Pakets on the first network interface UDPClient class gets from system. The version i use the DiscoveryClient does a full Discovery request on all nics which are available on the system. At this place maybe we can enhance zyan. Regards, Peter |
Hi Peter,
We can try to improve heuristics for building the discoverable URL property.
I'm surprised :) I had problems setting up UDP-based service discovery in my local network, and I finally gave up on it.
Would you mind creating a pull request for your service discovery client? |
Hi Alex, Pull request created. Regards, Peter |
Great! Thanks Peter 👍 |
…'t return 0.0.0.0 as a discoverable host, #71.
Hi Peter, please build the latest version from sources. |
Hi Alex, everything works as expected. Regards, Peter |
Great! Thanks Peter. |
…'t return 0.0.0.0 as a discoverable host, zyanfx#71.
…'t return 0.0.0.0 as a discoverable host, zyanfx#71.
You added support for Binding the Protocol to a IpAddress.
I use the Protocol without Binding to Ip Address.
This Constructor
public TcpCustomServerProtocolSetup(int tcpPort, IAuthenticationProvider authProvider, bool encryption)
I try to verify if my host is running so i get address from ZyanComponentHost property DiscoverableUrl
I get bullshit from this prop cause you bind protocol to the ip address 0.0.0.0. Its the address from the local var in TcpCustomServerProtocolSetup.
For me this works
TcpCustomServerProtocolSetup Method Create Channel
if (IpAddress != "0.0.0.0") { _channelSettings["bindTo"] = _ipAddress; }
Maybe you have a better solution, but i think we have a bug here.
The text was updated successfully, but these errors were encountered: