samedi 28 février 2015

Getting onReceive callback for chrome UDP socket on Windows

I am creating packaged app for chrome and using UDP socket to receive a broadcast message registering for onReceive callback for the socket created.


On Linux (Ubuntu 14.04 to be specific) I receive the callback as expected.


But on Windows (Windows 7 to be specific) I don't get the callback.


I guessed it is issue with firewall and opened the port I was using for the chrome browser as described here


Now everything works fine.


My question is , is this the only solution? Users who install my app need to manually open the port as above or is there any alternatives available?


Thanks in advance.


Aucun commentaire:

Enregistrer un commentaire