How to set SNI on StreamSocket on Windows Phone 8 SDK - windows-phone-8

Is it possible to set Server Name Indication (SNI) in ConnectAsync on stream socket?

Related

Windows 10 IoT (ARM) - RNDIS/Ethernet Gadget

We have the following configuration :
a Linux box acting as a USB Slave (RNDIS/Ethernet Gadget)
a Windows 10 IoT (ARM) device acting as USB Host
When slave is connected to host, Windows IoT detect it but it appears as "USB Serial Device" and no new network adapter is available.
When slave is connected to a Windows 10 Pro, it works.
Host/Slave can successfully communicate via Ethernet.
So my questions are :
Does Windows IoT support RNDIS? (I was no able to find an official
answer on the web)
Do RNDIS driver exists for Windows IoT (ARM)?
Did someone already tried what we are trying to achieve?

Java Application send mail from laptop but not from windows Server

I have a simple servletapp which sends mail using the Googles smtp server i.e smtp.gmail.com.
I used the servlet code from from below link , as i am note a java devloper b have some knowledge of java:
http://www.studytonight.com/servlet/Sending-email-using-servlet.php
I have 2 tomcats , one is installed on my laptop and one is installed on a windows server on same network(both tomcat same version and using jdk and jre installed is of same version)
The issue is when I run the application from my local laptop, I get the mails in my inbox , but when run the application from the Winndows server , i do not get email in my inbox.
Ports are not blocked as I able to telnet on both port 587 and 465.
Also , I can send mail via command line using openssl from my laptop and the windows server.
IpV6 is disabled on both laptop and windows server as I read some where that is causes issue with javamail.
Regards,
R

StreamSocketListener and localhost

I'm using the following code to set up a StreamSocketListener on my universal 8.1 app:
_listener = new StreamSocketListener();
_listener.Control.QualityOfService = SocketQualityOfService.Normal;
_listener.ConnectionReceived += OnConnectionReceived;
await _listener.BindServiceNameAsync("8776");
This runs without any problems, however when I try & browse to http://localhost:8776 (or directly via ip address or machine name), the request times out.
In netstat I can see the 8776 port is open & listening, I've enabled loopback exemption, disabled my firewall, but I'm still not able to connect. This is true for both the Windows 8.1 and the Windows Phone 8.1 app.
When I try to connect from another machine, it works without problems. Is there any setting/configuration I can use so I'm able to connect from the same machine?
Windows RT blocks loopback access between two WinRT applications.
Network communications using an IP loopback address cannot be used for
interprocess communication (between two different apps) in a Windows
Runtime app since this is restricted by network isolation. Network
communication using an IP loopback address is allowed within an app
within the same process for communication purposes.
More info and workaround here

Consuming WCFREST Service from Windows Phone 8 using WebClient

with the reference to the Link
I am getting an error while running the application.
I am unable to find the solution to the problem.
May be you getting error because you are trying to call web service from local host. Host your web service some where in Http(Url). Windows phone emulator doesn't allow to call service from local host.

connect bluetooth shield with windows phone 8

i'm trying to listen for incomming bluetooth-connections from a bluetooth sheild to my WindowsPhone8 device. Is there any way to connect WindowsPhone8 with bluetooth sheild?
As long as the remote device supports Bluetooth Serial Port Protocol (BT-SPP) and supports pairing, you should be able to open a BT-SPP socket to it from WP8.
Here's a code sample of connecting to Sphero # http://www.developer.nokia.com/Community/Wiki/What%27s_new_in_Windows_Phone_8#Bluetooth:_Phone_to_device
And here's a code sample of connecting to Mindwave Mobile Headset # http://metroeeg.codeplex.com/wikipage?title=Standalone&referringTitle=Home