Commit graph

25 commits

Author SHA1 Message Date
André Mussche
49087c6eaa - custom data property per context (for custom user storage per connection)
- string events (no superobject parsing but straight sending data)
- enumerate connections
2014-02-04 21:24:58 +01:00
André Mussche
4fc311b4c8 ping problem fixed 2014-02-04 21:23:49 +01:00
André Mussche
5a7310896b better client reconnect + small fixes 2014-01-31 20:22:10 +01:00
André Mussche
73ff121faa ping + reconnect in read thread 2014-01-23 16:30:39 +01:00
André Mussche
4842291225 manual send string instead of superobject (optimization) 2014-01-23 10:17:47 +01:00
André Mussche
8187b7f06a connection error fixes 2014-01-23 10:17:13 +01:00
André Mussche
0181d6b8ab Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-20 08:59:36 +01:00
André Mussche
2b7abcceff xe5 compatible 2014-01-20 08:59:12 +01:00
André Mussche
e1d2ad094b EReadTimeout fixed 2014-01-17 15:30:09 +01:00
André Mussche
c712228bbc Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-17 10:59:50 +01:00
André Mussche
c4adeb8e10 100ms auto connect timeout 2014-01-17 10:59:25 +01:00
André Mussche
e1f132d1bd compile fixes 2014-01-13 10:00:09 +01:00
André Mussche
ea489db31c - sending all data at once (instead of seperate header + data -> receive order gets different!)
- including partial data send handling
- process data from internal frame buffer instead of only waiting on real data on the socket
- terminate deadlock due to tmonitor, using tcriticalsection instead
- singlewritethread option
2014-01-10 15:05:04 +01:00
André Mussche
e6d3ad515a Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-03 18:56:06 +01:00
André Mussche
24a9c83501 shorter server loop (in case of "hanging" data?)
direct context as connection
2014-01-03 18:55:05 +01:00
André Mussche
c075c6bb50 - disabled client side socket.io ping (not threadsafe, must be improved first)
- better reconnect after connection failure/timeout
- more safer background read thread (no select on all handles at once: not threadsafe if other threads do a select too?)
2014-01-03 18:52:46 +01:00
André Mussche
f8781f23dd - lock on "select"
- empty "connected" check is possible now (no "no data read" exception or timeout)
2014-01-03 18:49:48 +01:00
André Mussche
b4bb376703 interlocked messagenumber 2014-01-03 18:48:05 +01:00
André Mussche
dff7b55252 Merge branch 'master' of https://github.com/andremussche/DelphiWebsockets 2014-01-02 15:06:09 +01:00
André Mussche
7a59f2b272 local sync 2014-01-02 14:59:48 +01:00
André Mussche
86dc2bfc35 fixed: double connect (1::) message send 2014-01-02 14:59:27 +01:00
André Mussche
28aa5d1a7a auto try connect + upgrade (when no initial connection yet) 2013-12-10 20:53:20 +01:00
andremussche
be087753c5 error handling and unit test 2013-11-18 14:27:13 +01:00
andremussche
cb2855115f Websocket support for RemObjectsSDK 2013-11-11 21:15:05 +01:00
andremussche
7d3b78b227 first checkin 2013-11-11 21:14:42 +01:00