WP8/Win8 Store App - Sockets - c#

Justed tried to add multiplayer support for a monogame project. I wanted to use libgren but as far as I could see there are no networking classes available on windows phone. Is there any workaround? How can send and recieve tcp and udp packets on windows phone? The same question applies to Windows 8 Store Apps.

There are sockets for Windows Phone 8.1 and Windows 8.1 - http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.sockets.aspx . If you are targeting WP8 (not 8.1) you will need to use the Silverlight Windows Phone 8 sockets - http://msdn.microsoft.com/en-us/library/windows/apps/hh202874(v=vs.105).aspx

Related

Can Xamarin.Forms be used to make a windows desktop application? (No UWP/Store)

My client asked for an application to run on Ios/Android/WindowsPhone a year ago. We proposed to use Xamarin.Forms and for the Ios/Android part all went perfect. We are now facing the problem of Windows Phone. The platform is basically dead so the client asked if it's possibile to convert the app from mobile to desktop without using the windows store.
This application will be used on multiple pcs ranging from windows 7 to 8.1 to 10.
I know that it's possibile to reuse the C# code from Xamarin on .Net, but I was wondering if it's possible a direct export of the project from Xamarin.
Thanks.

Alljoyn c# implementation for Windows 8

I've been playing with my Raspberry pi 2 with Windows 10 IoT. And want to send commands to device using alljoyn.
However I was unable to find any kind of client/router sample c# code.
Microsoft offers Windows.Devices.AllJoyn namespace only for Windows 10 :(
https://msdn.microsoft.com/library/windows/apps/windows.devices.alljoyn.aspx
Am I the only person who want to use alljoyn in c# app other than in Windows 10?
I've started a C# wrapper project here: https://github.com/dotMorten/AllJoynDotNet
Currently supports Windows Desktop, Windows 10, and Xamarin Android, but I don't see why a Windows 8.1 Store app wouldn't be possible as well - we just need the alljoyn_c.dll compiled for 8.1.

Windows phone store Query

We have an app which is built in Windows phone 8 silver light framework. As windows 10 is coming and we are trying to upgrade this app to Windows phone 8.1.
Our only concern is can we keep both version of the app on store? i.e on store we should be able to upload two different build for WP8 and WP8.1.
Let me know if you guys have the answer
Yes you can have two different versions in the store. But my question is if you do have a Windows Phone 8 version of an application why do you need the 8.1 version too, where WP8 application would support both the versions?
You could have a look at this, in order to migrate your app into Universal apps.

How to use WNS in windows Phone 8?

I have a application that has a mobile client and a Windows 8 client. I want to implement push notification service between two app.
I found that windows 8 use WNS (windows Notification Service) and windows Phone 8 use MPNS (Microsoft Push Notification Service) for push notification service and they are two different server.
Is there any way to use WNS from windows Phone 8?
Or any way to achieve this?
any advice or any tutorial are welcome.
Thanks.
No wns is only working for win8. You can look into notification hub from azure.
You cannot send it directly as far as I know. You have to go through a server and again have a look at azure.
WNS is supported on Windows Phone as of Windows Phone 8.1. If you're building an app for both Windows 8 and Windows Phone, you should use WNS.
It is not possible to use WNS on Windows Phone 8.0, but WP8.1 is a free upgrade for your users.

Windows Phone 7\Silverlight SSH or Telnet library

Searching for some telnet or SSH libraries (C#) to using with Windows Phone 7.
At now moment I'm failed convert C# libraries like SharpSSH or Granados.
What existing libraries suatable for Windows Phone 7 or ideas how to convert SharpSSH?
Seems such library (in development) found - http://sshnet.codeplex.com/ (with version in development process for Windows Phone 7)
Windows Phone 7 doesn't provide socket support needed for such components to work. In our SecureBlackbox (which includes SSH client and server and has Windows Phone 7 version) we implemented Socket adapter class, which can be used for sending data over custom channels. If you can tunnel the data the way you need, then you can use our components. Until WP7 has support for sockets, there's no other option.

Categories

Resources