Using ZeroMQ in Xamarin

后端 未结 1 1877
臣服心动
臣服心动 2021-01-21 02:29

I have an application composed from a server and a client.

The Server is C/C++ application, and the client is a cross-platform Xamarin application that target Windows, A

1条回答
  •  不思量自难忘°
    2021-01-21 03:10

    I fear there is no straightforward solution atm. Not until the NetMQ author will take all the way down to making the library portable. If you need a quick workaround you could try to make an HTTP tunnel for your data i.e. transfer your data from Xamarin client to IIS server via HTTP and there unpack NetMQ packages from HTTP packets and resend those to your C/C++ ZeroMQ server.

    As an alternative you could try this: Socket.IO Client .NET or this: Sockets Plugin for Xamarin.

    I do not have any comparison of their performance to ZeroMQ and NetMQ in particular though.

    0 讨论(0)
提交回复
热议问题