[zeromq-dev] Using ZeroMQ on the Windows Phone 7.1/5 Mango Platform
Anton Yemelyanov
anton.yemelyanov at gmail.com
Mon Jan 2 01:19:16 CET 2012
Isn't ZMQ somewhat not suitable for mobile applications due to the fact
that it uses continuous polling? i.e. resulting in potential battery
drain? or is there an implemented or a planned method of getting around
this?
Would appreciate if someone could refresh me on this topic.
Anton
On Sun, Jan 1, 2012 at 5:48 PM, Nick Talbot <solutions at magichat.biz> wrote:
> Hi all, I successfully integrated ZeroMQ into my new iPhone app (see it in
> action at http://www.ibuzzedfirst.com/ ), and now I'm moving on to the
> other mobile platforms, i.e. Windows Phone 7 and Android.
>
> With Windows Phone 7 however, I've hit a dead end pretty quickly, which I
> thought I would share, as I don't see a solution right now.
>
> Windows Phone 7 development is via C# and a Silverlight 4-like platform. I
> have plenty of experience in C#, WPF, and Silverlight, so I though this
> would be a cinch.
>
> But get this: Windows Phone 7 DOES NOT SUPPORT native C/C++ Libraries, or
> P/Invoke support UNLESS you are a major OEM vendor, but NOT as an
> independent developer.
>
> Even before I realised this, I hit a few problems. I tried building the
> normal ZeroMq .net clrzmq2 wrapper. I built against the earlier Windows
> Phone 7.0 platform first, only to discover that System.Net.Socket support
> isn't present in 7.0!! Actually, it turns out socket support has been added
> and is present in 7.1/5 'Mango', so more of clrzmq built, but still not all
> of it as several methods in the Marshall class implementation and others in
> the Mango 7.5 are still not supplied by Microsoft.
>
> I was going to investigate this further, but then discovered the inability
> to include custom C/C++ libraries, which tops everything.
>
> The only possible solution would be to port the entire C ZeroMQ source
> base to C#, rather than just having a C# wrapper that calls into C library
> implementation as present.
>
> Has anyone done this?
>
> Thanks,
> Nick Talbot
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120101/c5cc75c0/attachment.htm>
More information about the zeromq-dev
mailing list