Commit graph

272 commits

Author SHA1 Message Date
Mostafa Samir
f3f7bdbf3f set client's 'explicitlyDisconnected' flag to true when disconnect is called
this is instead of using the 'stopRetrying' flag that would affect the retrying policy of other clients
2016-04-04 00:32:17 +02:00
Mostafa Samir
90260d1d3d added 'explicitlyDisconnected' flag to Client object
this flag will be set to true when a 'ipc.disconnect' is called on the client to prevent the client from attempting to retry to connect
2016-04-04 00:30:44 +02:00
Mostafa Samir
ec45f36ae0 updated comment by removing mention of windows
any syetem that has it first network interface on ipv6 will also fail if udp4 was bound on it, not just windows
2016-04-01 22:06:00 +02:00
Mostafa Samir
36457fa5bd made udp4 socket default bind to an ipv4 address
it seems that on windows, binding a udp4 socket to an ipv6 address (here is ::1) raises and EINVAL error
2016-04-01 21:28:39 +02:00
Mostafa Samir
e9d34a8178 auto-updated coverage reports 2016-04-01 20:32:18 +02:00
Mostafa Samir
387fa3b0ea tweaked the test suite to accommodate to windows delays 2016-04-01 20:29:42 +02:00
Mostafa Samir
d3181ddafe removed seemingly unnecessary resetRetriesCheck function
the function being set to fire after 100ms conflicted with delays in firing the 'disconnect' event on windows, and this resulted in the socket's 'retriesRemianing' being reset after every decrement and thus violatin the 'maxRetries' rule
2016-04-01 20:26:26 +02:00
Mostafa Samir
b60152d0b3 auto-updated coverage reports 2016-04-01 19:50:28 +02:00
Mostafa Samir
d2aaa7eb0e ignored npm-debug.log files 2016-04-01 19:49:17 +02:00
Mostafa Samir
3ee9c94818 added a script to run tests on windows
created a sepearte script to avoid any potential problems that could occur if original scripts were changed
2016-04-01 19:45:11 +02:00
Madeline Shortt
60be1a3a2e Fix typo in client log: recieved -> received 2016-03-28 17:45:36 -07:00
Brandon Nozaki Miller
df0c6407c1 major revisions to binary, hex and other rawBuffer sockets 2016-03-23 00:07:37 -07:00
Brandon Nozaki Miller
12ea8bfed7 Update package.json 2016-03-16 02:50:58 -07:00
Brandon Nozaki Miller
50f21ff857 syntax fix 2016-03-16 02:46:10 -07:00
Brandon Nozaki Miller
9246169607 rev 2016-03-16 02:43:00 -07:00
Brandon Nozaki Miller
e53b83b6d7 allow passing false and 0 as message data 2016-03-16 02:42:21 -07:00
Brandon Nozaki Miller
456cf3f312 adding node scripts 2016-01-11 14:31:36 -08:00
Brandon Nozaki Miller
23b2642041 prepped for publish 2016-01-11 14:25:48 -08:00
Brandon Nozaki Miller
bd967c7513 fixing some ref links 2016-01-11 12:28:13 -08:00
Brandon Nozaki Miller
9f1755374a fixed some formatting 2016-01-10 21:10:58 -08:00
Brandon Nozaki Miller
143e23ca4d migrating to es6 2016-01-10 20:59:40 -08:00
Brandon Nozaki Miller
6a00244670 removed duplicate sync server 2016-01-10 12:50:13 -08:00
Brandon Nozaki Miller
ed9739d6f0 formatting linebreak readme 2016-01-10 05:23:50 -08:00
Brandon Nozaki Miller
4b34e7ff3e added codacy info 2016-01-10 05:22:57 -08:00
Brandon Nozaki Miller
9a28809a4f cleaning up test params 2016-01-10 05:10:48 -08:00
Brandon Nozaki Miller
6278fd472b cleaning up format 2016-01-10 04:57:08 -08:00
Brandon Nozaki Miller
f176a01d1b better err handling in tests 2016-01-10 04:37:52 -08:00
Brandon Nozaki Miller
32cfa88d9b coding style fixes 2016-01-10 04:32:46 -08:00
Brandon Nozaki Miller
1fe7e543ee clean up 2016-01-10 04:18:14 -08:00
Brandon Nozaki Miller
97d1e0783b corrected pubsub constructor case 2016-01-10 03:53:33 -08:00
Brandon Nozaki Miller
19416ef10c cleaned up server tests and got all tests playing nice 2016-01-10 03:38:19 -08:00
Brandon Nozaki Miller
92061d2f85 coverage with TCP Client back in 2016-01-10 03:03:59 -08:00
Brandon Nozaki Miller
f0056a7d1f added TCP client tests back in 2016-01-10 03:02:36 -08:00
Brandon Nozaki Miller
b3b99482e1 test formatting 2016-01-10 02:46:09 -08:00
Brandon Nozaki Miller
8802aeeb0b tcp and UDP tests working together 2016-01-10 02:39:14 -08:00
Brandon Nozaki Miller
829b0790f5 updates to UDP tests create issue #62 2016-01-10 01:30:30 -08:00
Brandon Nozaki Miller
3d5967ec8a UDP Socket client minor formatting fixes 2016-01-10 01:18:57 -08:00
Brandon Nozaki Miller
ac94fb3312 removing specs with errors 2016-01-10 01:14:54 -08:00
Brandon Nozaki Miller
e6d6a59c42 cleaned up unix socket client test 2016-01-10 01:03:05 -08:00
Brandon Nozaki Miller
2d19c88b15 Updating docs for fix to #60 2016-01-09 23:28:00 -08:00
Brandon Nozaki Miller
fa59d14ca4 test server auto shutdown fixes #60 2016-01-09 23:23:40 -08:00
Brandon Nozaki Miller
45cf879345 fixing formatting issues and best practices 2016-01-09 21:48:03 -08:00
Brandon Nozaki Miller
7b0cc85fa1 typo 2016-01-09 01:04:00 -08:00
Brandon Nozaki Miller
850195c228 adjusting docs 2016-01-09 01:03:01 -08:00
Brandon Nozaki Miller
5912c9ab5f implemented istanbul and updated docs 2016-01-09 00:59:47 -08:00
Brandon Nozaki Miller
b60551202b Merge pull request #55 from nileshprasad/master
Test cases for Node IPC. Looking forward to tests for raw buffer.
2016-01-07 23:10:59 -08:00
nileshprasad
cef306eb4b Added test case for Sync parameter for TCP and Unix, Added testFile.js which helps in executing all test scripts and dependent file in same terminal 2016-01-07 15:55:06 -08:00
nileshprasad
4cf5906e95 Merge https://github.com/RIAEvangelist/node-ipc 2016-01-04 13:35:43 -08:00
Brandon Nozaki Miller
e7d9223ee5 updating for npm versioning 2016-01-04 01:47:06 -08:00
Brandon Nozaki Miller
b51b57b987 updated TLS socket examples 2016-01-04 01:45:28 -08:00