windows 10 iot core - IOT: Only one usage of each socket address (protocol/network address/port) is normally permitted -
i'm trying run first iot on raspberry pi 3.
but using code ....
public void startserver() { task.run(async () => { listener = new streamsocketlistener(); listener.control.keepalive = true; listener.control.nodelay = true; await listener.bindservicenameasync(port.tostring()); }); }
i error @ bindservicenameasync...
exception thrown: 'system.runtime.interopservices.comexception' in mscorlib.ni.dll winrt information: 1 usage of each socket address (protocol/network address/port) permitted.
in appmanifest have checked "internet (client & server)".
any idea why error?
thanks
most port trying use being used process. try different port.
Comments
Post a Comment