MaxXor
164bb5836f
Removed unused variable
2015-08-12 20:06:42 +02:00
MaxXor
23cafeb2f3
Switched from ProtoBuff to NetSerializer
...
NetSerializer should be slightly faster than Protocol Buffers
2015-08-08 16:21:09 +02:00
MaxXor
0a9f3d0dd7
Correctly dispose StreamCodec
2015-08-08 14:34:10 +02:00
MaxXor
af3442a954
Improved File Manager
...
Improved Exception Handling
2015-08-06 19:58:36 +02:00
MaxXor
afb364057e
Small improvement to Socket Receive
2015-08-06 16:32:03 +02:00
MaxXor
b459c861de
Reduced BufferSize to 16KB
2015-08-06 16:03:52 +02:00
MaxXor
6124f000de
Improved compression
2015-08-02 15:22:34 +02:00
MaxXor
d5066aaca5
Set Socket.NoDelay to default (false)
2015-08-02 14:31:41 +02:00
MaxXor
ff65ceeb80
Improved encryption speed
...
- pre hashing of the key
2015-08-02 12:17:31 +02:00
MaxXor
e4757b87a2
Improved File Manager
...
- Added blocking send, this is important when transfering files to
prevent allocation of all blocks at once which pumps the memory with the
files contents
2015-07-23 13:31:45 +02:00
MaxXor
d1b37e7d49
Improved header reading
...
When a new packet is at the end of the current buffer, it can happen
that the header isn't complete. Then it first reads what's there, writes
it to a temporary header and receives the rest of it in the next read
buffer.
2015-07-19 20:12:34 +02:00
MaxXor
9092cc513a
Corrected documentation
2015-07-10 16:49:11 +02:00
MaxXor
bca273dc5e
Fixed networking code
...
ref #275
2015-07-10 12:45:24 +02:00
MaxXor
9a145b602b
Better handling of packets with invalid header
2015-07-09 22:39:33 +02:00
MaxXor
9722744a75
Renamed MAX_PACKET_SIZE to BUFFER_SIZE
2015-07-09 22:28:07 +02:00
DragonHunter
0e6cafdc75
Reduced header to 3 bytes & Max Payload is 16MB
...
Reduced the Header from 4 bytes to 3
The server or client should not be able to allocate 2GB memory from the
header, max is now 16MB
2015-07-09 22:01:39 +02:00
MaxXor
d785fc32a8
Fixed networking code
...
fixes #272
fixes #273
2015-07-08 11:13:43 +02:00
MaxXor
cf0de1597f
Removed redundant setting of NoDelay option
2015-06-18 16:11:33 +02:00
MaxXor
f4835ee68b
Removed whitespace
2015-06-14 14:20:50 +02:00
MaxXor
1f753bd461
Fixed not receiving when connection is closing
2015-06-11 11:24:08 +02:00
MaxXor
b9d11c3b24
Fixed async receive in client & server using a queue
2015-06-11 10:20:11 +02:00
MaxXor
dde4336e1c
Don't handle ObjectDisposedEx. as normal Exceptions
2015-06-10 19:53:03 +02:00
MaxXor
3fc03a7788
More send & receive fixes for client & server
2015-06-10 19:33:02 +02:00
MaxXor
8284da5830
Small fix
2015-06-07 16:50:37 +02:00
MaxXor
83ec8c2a87
Added improvements to client
2015-06-07 16:35:30 +02:00
MaxXor
70618e91cb
Improved memory management in server
...
- Fixed handling packets wih payload bigger than the buffersize of the
receiving socket
- Added locks to FileSplit class
2015-06-07 16:28:33 +02:00
MaxXor
3bdd5aa294
Implemented pooled buffer manager to socket
2015-06-05 23:07:37 +02:00