Commit graph

49 commits

Author SHA1 Message Date
Markus Stoll c606f2e227 This fix addresses successfully issue #1541 (as already suggested there) 2014-08-01 17:35:40 +03:00
Markus Stoll 69bf77d799 Catch SocketException when receiving messages - this can get thrown even if "socket.Available > 0" is true. Treat like timeout by disconnection and reconnecting the notication server 2014-07-27 15:54:26 +02:00
Hylke Bons 5c0e9d7e67 listener repo: Implement exponential backoff reconnect when waking from sleep. Closes #1387 2014-04-18 14:09:12 +01:00
Hylke Bons f874c1c70b Relicense SparkleLib to LGPL 2013-10-11 17:14:15 +02:00
Brandon Dahler 2f50b4e2e0 Fix duplicate unconditional calls to AlsoListenToInternal for all channels 2012-09-10 16:18:04 -05:00
Hylke Bons b8921975f8 listener: Use port 443. See #947 2012-09-03 19:44:36 +01:00
Hylke Bons 161bfea8b4 Remove Helpers class, add Logger class 2012-07-28 15:58:09 +02:00
Hylke Bons 2ca2c12475 controller: Code cleanups 2012-07-17 22:14:58 +02:00
Hylke Bons 7fb8cc587f mac invites: don't check certificate 2012-07-15 15:59:04 +02:00
Hylke Bons ffaa23a733 listener tcp: Remove lock 2012-07-03 20:27:42 +02:00
Hylke Bons be1fbdc928 listener: set port 80 as the default 2012-05-28 00:51:37 +01:00
Hylke Bons 9a7e1eaee1 setup: Fix page logic 2012-05-20 17:16:14 +01:00
Hylke Bons 6a0ee9ed63 listener tcp: Catch more exceptions and increase poll/ping interval. Fixes #734 2012-05-20 14:28:14 +01:00
Hylke Bons 1a97616e38 repo: Fix edge case where ID may be empty 2012-05-19 16:15:20 +01:00
Hylke Bons d149d9dce8 Fix crashes with unavailable notification service 2012-05-14 23:35:59 +01:00
Hylke Bons e91de7f442 listener tcp: catch some potential exceptions 2012-03-17 19:16:53 +00:00
Hylke Bons 5ca7cc147a mac: Fix build 2012-03-16 18:42:13 +00:00
Hylke Bons 82a88cb504 listener tcp: don't ping anymore when we've disconnected but haven't noticed. Fixes #629 2012-03-13 18:07:03 +00:00
Hylke Bons b11f6af166 Replace tabs with spaces in project 2012-03-08 03:35:24 +00:00
serras 87ef4ed013 Merge branch 'master' into gettext-cs
Conflicts:
	SparkleLib/SparkleListenerTcp.cs
2012-02-27 10:04:28 +01:00
Hylke Bons 135e2fe73f Fix Linux build 2012-02-19 21:33:25 +01:00
serras 8ed2523812 Update projects to use new files 2012-02-12 16:51:28 +01:00
Hylke Bons 3991e25fcc listener: rename some methods 2012-02-11 20:23:38 +01:00
Hylke Bons f38950d91c listener tcp: fix some small issues 2012-02-10 14:26:33 +01:00
Hylke Bons 2c98cf1acd listener tcp: Improve reconnect logic to work in after system sleeps and handle more errors 2012-02-09 23:43:47 +01:00
Hylke Bons 6844d320fd Remove outdated help/ and man/ 2012-02-08 13:30:46 +01:00
Hylke Bons bed669fd77 listener: detect when system has woken up from sleep. disconnect when that happens 2012-02-08 02:17:34 +01:00
Hylke Bons e9373b87d5 Fix ping on timeout. Fixes broken reconnect 2012-02-08 01:44:56 +01:00
Hylke Bons aa82b3441f listener: update comments 2012-02-06 12:54:04 +01:00
Hylke Bons d437b1a5a1 tcp listener: remove some unneeded references 2012-02-05 23:00:28 +01:00
Hylke Bons 19ba407129 Add some debug output 2012-02-05 22:28:06 +01:00
Hylke Bons 2097daee79 listener: fix potential endless loop 2012-02-01 22:17:48 +00:00
Hylke Bons 68934067a9 listener: Use ping mechanism through te socked, instead of an external one 2012-02-01 22:04:58 +00:00
Hylke Bons 17fc8fa920 listener: Rework disconnect algorithm 2012-02-01 16:28:57 +00:00
Hylke Bons be14c48ae9 repo base: Start initial remote check in a new thread. Prevents blocking an fixes #321 2011-11-13 00:57:00 +00:00
Travis Glenn Hansen 448e39924d bit more sync/listener logic 2011-11-07 08:39:33 -07:00
Travis Glenn Hansen 3d4a8b5f9d making announcements more robust and intelligent 2011-11-05 15:09:09 -06:00
PierreAronnax 15a827acd6 SparkleListenerTCP: Fixing Reconnect
Calling socket.Connect again after socket.Close causes an ObjectDisposedException. Recreating the socket before connecting fixes this.
2011-10-25 19:16:29 +03:00
Jan Funke 73d11e0f9d tcp-listener: fallback to polling instead of crashing on socket errors 2011-10-03 14:39:26 +02:00
Hylke Bons 9144a6f52b setup: add images to tutorial pages 2011-09-14 02:09:03 +02:00
Hylke Bons dbce0e14e9 Add events to tcp listener 2011-07-24 19:22:17 +01:00
Hylke Bons beafcebd5a Fix tcp listener (needed newlines at the end of messages) 2011-07-02 02:24:12 +01:00
Hylke Bons cf1a7a5e2b adjust tcp listener to work with nodejs server (subscribing doesn't work yet) 2011-07-02 02:13:33 +01:00
Alex Hudson d7d022078e Put in XML fragment parsing - listener now basically works over tcp 2011-06-28 23:38:32 +01:00
Alex Hudson 24491508cd Convert JSON commands to TCP server into XML fragments. 2011-06-28 22:58:04 +01:00
Alex Hudson 236a086e2c Remove IRC listener code from TCP version 2011-06-28 22:14:42 +01:00
Alex Hudson b8b6b86ce5 Make tcp listener startup-able 2011-06-28 22:13:28 +01:00
Alex Hudson 1fe4730af5 Make listener type configurable from config file 2011-06-28 19:36:47 +01:00
Hylke Bons 4574ae6056 Add a TCP based listener 2011-06-18 22:42:34 +01:00