我在Pi2上运行了一个项目,我想将统计信息提交给statsd服务器。我尝试通过NuGet安装的所有客户端都不兼容。他们给出了"StatsdClient 1.1.26与UAP不兼容,Version = v10.0"。错误。
I have a project running on the Pi2 which I want to submit stats to a statsd server. All the clients I tried installing via NuGet were not compatible. They gave a "StatsdClient 1.1.26 is not compatible with UAP,Version=v10.0." error.
有人能指出我对UAP兼容的statsd客户端吗?
Can anyone point me towards a UAP compatable statsd client?
谢谢!
推荐答案
这是 github/Pereingo/statsd-csharp-client ,您可以搜索源和概念。虽然它需要从System.Sockets转移到Windows.Sockets
Well there is this github/Pereingo/statsd-csharp-client which you may able to raid for source and concepts. Though it would need to move to Windows.Sockets from System.Sockets
参见
你可能想看看 github/ Microsoft / Windows-universal-samples / tree / master / Samples / StreamSocket
You might like to look at github/Microsoft/Windows-universal-samples/tree/master/Samples/StreamSocket
这是一种UWP的套接字方式。
which is a UWP way of doing sockets.
使用 Windows.Networking.Sockets ;
using Windows.Networking.Sockets;
来自其他地方。