MobileChromeApps / cordova-plugin-chrome-apps-sockets-tcp

BSD 3-Clause "New" or "Revised" License
44 stars 52 forks source link

how to find port used for listen (typically next available) #28

Closed sdetweil closed 7 years ago

sdetweil commented 7 years ago

I have this existing protocol, where I

I am using the udp and tcp plugins.. chrome.sockets.tcp.onReceive.addListener(recvListener);
sendTo(MirrorRequest+ip, ReceiverPort, BROADCAST_ADDR);

sdetweil commented 7 years ago

need to use the tcpCPServer plugin for that process