Gavin Conway
6f62be0d6e
Updated CocoaAsyncSocket. Added SO_REUSEPORT
2017-10-24 23:31:16 -04:00
Mark Vayngrib
cfcb081d61
2.1.0
2017-08-09 08:53:43 -04:00
Mark Vayngrib
4ef1603104
delete duplicate noop declaration
2017-08-09 08:52:24 -04:00
Gavin Conway
00f1224167
Changed process.nextTick to setImmediate when socket already closed
2017-08-09 14:51:06 +02:00
Marcus Stenbeck
69a8e844e3
Set max buffer size to maximum allowed ( #44 )
...
* Set max buffer size to maximum allowed
I'm evaluating this library for an application that sends ~60kb size UDP messages. Without this setting the messages are cut off at the default message size.
This is probably something you'd want to set with `const socket = dgram.createSocket('udp4', { maxBufferSize: 'UINT16_MAX' })`. I've modified the library to automatically choose the largest allowed size `GCDAsyncUdpSocket` allows (which is 64kb).
* Set max ipv6 buffer size to uint16 maximum
2017-03-24 11:54:12 -04:00
Mark Vayngrib
dc04cd35df
support callback in close()
2017-02-19 21:04:46 -05:00
Mark Vayngrib
05ca61e662
2.0.0
2017-02-15 09:32:30 -05:00
Mark Vayngrib
5119ee2e70
Merge pull request #36 from tohjg/master
...
Support React Native 0.40.x header imports
2017-02-15 09:31:51 -05:00
tohjg
b1550b34e4
removed shell script
...
shell script caused react dependencies file not found
2017-02-15 12:56:23 +08:00
darientoh
368c936b67
fixed rn 0.40 ios header duplication
2017-02-10 12:23:08 +08:00
Andy Prock
3715d8a4e6
1.2.9
2016-12-14 14:27:18 -08:00
Andy Prock
19699c1fa2
Merge pull request #30 from jmc420/master
...
add multicast
2016-12-14 14:26:08 -08:00
James Cowan
044ab6e57a
add multicast
2016-11-10 17:49:33 +00:00
Andy Prock
de6296de31
1.2.8
2016-11-07 14:58:44 -08:00
Andy Prock
0825e2b1d4
Merge pull request #28 from tradle/createSocket
...
allow options to be passed into createSocket
2016-11-07 14:56:50 -08:00
Andy Prock
7423850bf6
allow options to be passed into createSocket
2016-11-07 14:53:58 -08:00
Andy Prock
298101c5df
1.2.7
2016-11-03 09:29:52 -07:00
Andy Prock
2f43357118
Merge pull request #27 from aprock/master
...
android switch to MulticastSocket for sockets
2016-09-30 09:45:10 -07:00
Andy Prock
6c9c242ade
android switch to MulticastSocket for sockets
2016-09-19 16:33:28 -07:00
Mark Vayngrib
e77d9f6a9f
1.2.6
2016-09-18 12:46:43 -04:00
Mark Vayngrib
54443ab220
Merge pull request #25 from the-ress/the-ress-patch-2
...
Fix for iOS 10
2016-09-18 12:46:26 -04:00
Tereza Tomcova
0e10791b82
Fix for iOS 10
2016-09-15 16:54:46 +02:00
Mark Vayngrib
a153fb5cc3
Merge pull request #24 from the-ress/patch-1
...
update linking instructions
2016-09-14 17:23:26 -04:00
Tereza Tomcova
e0c59ad8b6
Update README.md
2016-09-14 23:03:34 +02:00
Tereza Tomcova
39dba9fc3e
Changed rnpm command to react-native
2016-09-14 20:31:56 +02:00
Andy Prock
b4ae666ff1
1.2.5
2016-07-20 15:59:52 -07:00
Andy Prock
324f840c45
Merge pull request #20 from tradle/rn29
...
update example and documentation for rn 0.29.2
2016-07-20 15:59:38 -07:00
Andy Prock
2756af6c76
update example and documentation for rn 0.29.2
...
Introduced rnpm the new "standard" for linking to native modules
Removed the CocoaPod podspec
Updated the sample project to use react-native 0.29.2
Sample now shows the socket information on the main page
2016-07-20 15:56:54 -07:00
Andy Prock
fbc123849f
1.2.4
2016-01-15 15:52:13 -08:00
Mark Vayngrib
cc35c46faf
Merge pull request #18 from tradle/quieter
...
remove noisy message received log
2016-01-13 20:23:09 -05:00
Andy Prock
acb9dbcbd6
remove received noisy message received log
2016-01-13 14:43:56 -08:00
Andy Prock
8aae2a1e2c
1.2.3
2015-12-31 08:39:43 -08: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
05b206deca
1.2.2
2015-12-22 10:12:24 -08:00
Andy Prock
1190187964
Merge pull request #16 from tradle/ios-clients
...
Fixes #15
2015-12-22 09:46:44 -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
641b9d770e
Fixes #14
...
Now forcing the host resolution to happen, which will make the UnknownHostException fire if there are problems.
2015-12-21 17:19:59 -08:00
Mark Vayngrib
bf668cd322
1.2.1
2015-12-21 17:58:58 -05:00
Mark Vayngrib
5b6972ca10
Merge pull request #13 from ajwhite/allow-hostnames
...
Allow hostnames in addition to IP addresses
2015-12-21 17:56:32 -05:00
Atticus White
97e9d137b5
validate hostname in addition to ip address
2015-12-21 16:03:59 -05:00
Andy Prock
96728a771d
make UdpSocketClient pendingSends access thread safe
2015-12-17 09:16:18 -08:00
Andy Prock
defd529dc2
ios start using lightweight generics
2015-12-16 11:47:43 -08:00
Mark Vayngrib
f298b2a95d
1.2.0
2015-12-11 13:22:43 -05:00
Mark Vayngrib
8644133544
Merge pull request #11 from tradle/noReactNativeDep
...
rm react-native peerDep
2015-12-04 11:29:00 +00:00
Mark Vayngrib
9236a702f7
rm react-native peerDep
2015-12-01 01:13:07 +00:00
Andy Prock
9234379abe
point android example at the right js file
2015-11-30 14:23:27 -08:00
Andy Prock
455795a3f0
Merge pull request #10 from ajwhite/compile-patch
...
Compile errors for empty generics definitions
2015-11-30 14:21:17 -08:00
Atticus White
2be9026928
define class types
2015-11-30 14:44:15 -05:00
Mark Vayngrib
6ae70e3d12
fix example in readme
2015-11-22 13:01:00 +00:00