You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to get the server status from the memcache client using its method Stats().
ServerStats status = MemCachedClient.Stats();
To get the server status info you need to use the next method:
GetRaw(IPEndPoint server, string key)
So I created an IPEndPoint object and used it as a parameter:
var uptime = status .GetRaw(new IPEndPoint(IPAddress.Parse("XXX.XXX.XX.XX"), 11211), "uptime");
The problem is that the IPEndPoint that I instanciated and passed as a parameter and the IPEndPoint that is inside the ServerStats class have different AddressFamily.
new IPEndPoint() -> AddressFamily = InterNetwork
IPEndPoint inside the ServerStats -> AddressFamily = Unspecified
So when I do GetRaw(), it does not find the IPEndPoint because the AddresFamily is different.
Is there any way to get the server status info?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi!
I am trying to get the server status from the memcache client using its method Stats().
ServerStats status = MemCachedClient.Stats();
To get the server status info you need to use the next method:
So I created an IPEndPoint object and used it as a parameter:
var uptime = status .GetRaw(new IPEndPoint(IPAddress.Parse("XXX.XXX.XX.XX"), 11211), "uptime");
The problem is that the IPEndPoint that I instanciated and passed as a parameter and the IPEndPoint that is inside the ServerStats class have different AddressFamily.
So when I do GetRaw(), it does not find the IPEndPoint because the AddresFamily is different.
Is there any way to get the server status info?
Thanks!
The text was updated successfully, but these errors were encountered: