Commit Graph

11 Commits

Author SHA1 Message Date
Gavin Conway 822b1e0933 Bubbled up reusePort to the API as an option on createSocket 2017-10-24 23:31:16 -04:00
darientoh 368c936b67 fixed rn 0.40 ios header duplication 2017-02-10 12:23:08 +08:00
James Cowan 044ab6e57a add multicast 2016-11-10 17:49:33 +00:00
Andy Prock 9664cdf276 fix typo in error message 2015-12-31 08:39:33 -08:00
Andy Prock 41fc91c5cc Fixes #17
It was crashing when trying to build a callback argument NSArray with a nil object. NSError's are not guaranteed to have a NSLocalizedFailureReason, so this case should be handled.
2015-12-30 22:51:26 -08:00
Andy Prock e8050d3fe8 Fixes #15
Refactor the UdpSockets module _clients array to be a member variable.
Make the UdpSocketClient's delegate a weak reference.
remove reload notificaiton, and rely on dealloc to close all open sockets.
2015-12-21 19:45:38 -08:00
Andy Prock defd529dc2 ios start using lightweight generics 2015-12-16 11:47:43 -08:00
Andy Prock 398935bb67 implement addMembership/dropMembership for android
this enables support for protocols such as ssdp, which require multicasting
bump to version 1.1.1
2015-11-18 15:14:45 -08:00
Mark Vayngrib a1b07b4999 detect rctreloadnotification, cleanup sockets before exiting 2015-10-12 17:29:39 +01:00
Mark Vayngrib f33fde4c06 send strings instead of NSError over bridge, RCTBridge chokes sometimes on NSJSONSerialization of errors 2015-10-12 09:55:20 +01:00
Andy Prock 3ce4b63536 initial android support
moved ios specific code into a subfolder
created an android folder
updated the Install instructions on the readme
bumped the version to 0.2.0
2015-09-25 14:58:32 -07:00