42 Commits

Author SHA1 Message Date
f2cf32410e removed duplicate line 2020-04-26 16:31:59 +02:00
376177c760 checking for "quit" input from client to close connection 2020-04-26 16:23:32 +02:00
98d3e88872 added close() to socketstream 2020-04-26 16:22:56 +02:00
5f3364e805 explicitly forbid copying of fdstreams; implemented move for fdstreams 2020-04-26 15:56:17 +02:00
Bob Polis
f7fb1db4a8 fixed double close bug 2020-04-25 18:13:53 +02:00
Bob Polis
44d4e29922 added is_open and close methods on fdstreams 2020-04-25 18:10:38 +02:00
Bob Polis
3c26c0616e changed socketstream to be derived from std::iostream 2020-04-25 17:56:11 +02:00
Bob Polis
5012f2e582 made all fdstreams RAII for fd 2020-04-25 17:42:26 +02:00
Bob Polis
de371a94a5 fixed and improved single buffer version, added seeking as well 2020-04-25 16:40:42 +02:00
Bob Polis
a3f0de4582 improved test code 2020-04-25 16:39:57 +02:00
Bob Polis
eeaa962aba replaced separate inbuf and outbuf with iobuf 2020-04-24 17:45:49 +02:00
Bob Polis
e9fa798ee7 replaced separate inbuf and outbuf with iobuf 2020-04-24 17:45:33 +02:00
Bob Polis
db6b0cca5e added accessors for some members 2020-04-24 16:13:55 +02:00
Bob Polis
027f9cb59e renamed buffer accessors; added accessors for socketstream members 2020-04-24 16:13:28 +02:00
Bob Polis
8d327cb1d2 added 5th test 2020-04-24 10:06:01 +02:00
Bob Polis
c6994e6983 added error messages when write fails 2020-04-24 10:04:48 +02:00
363424f15a joined some lines into one 2020-04-19 14:25:35 +02:00
39badd5582 added help text line for test option 2020-04-19 14:25:09 +02:00
40aac7eeca added option handling and more tests 2020-04-18 20:39:32 +02:00
63417fa847 switched from libcommon to libscerror and libscstring 2020-04-18 20:39:00 +02:00
Bob Polis
7657226714 added test for socketstream 2020-03-17 17:49:16 +01:00
Bob Polis
107b09c056 further implemented socketstream methods 2020-03-17 17:21:47 +01:00
Bob Polis
6d1ebe4af2 added libscerror dependency 2020-03-17 17:21:14 +01:00
Bob Polis
b7b039751b partly implemented socketstream 2020-03-03 19:31:17 +01:00
Bob Polis
dd5c87c896 fixed reading by using single char buffer 2020-03-02 16:20:36 +01:00
Bob Polis
d249f3ae6c fixed bug where read would not be called 2020-03-02 13:45:15 +01:00
Bob Polis
2165710720 added test for fdistream 2020-02-22 21:19:15 +01:00
Bob Polis
250e5cbf46 implemented fdinbuf and fdistream 2020-02-22 21:18:53 +01:00
Bob Polis
7bcf15bd28 removed memory streams because std::stringbuf can be customised to function that way 2020-02-22 16:05:13 +01:00
Bob Polis
15f402e5ff changed spaces to tabs 2020-02-19 18:51:39 +01:00
Bob Polis
77ea0fb08e implemented and fixed byte order stuff 2020-02-19 17:25:18 +01:00
b98826a65f first commit 2020-02-18 23:08:33 +01:00
2ab53159ce added data_streamer methods 2020-02-18 23:07:40 +01:00
e17e68f64c first commit 2020-02-17 21:11:49 +01:00
dcaa984364 reverted to hand-edited single lib header 2020-02-17 21:11:22 +01:00
de11d491e7 reverted to hand-edited single lib header 2020-02-17 21:11:01 +01:00
f730ca2da1 reverted to hand-edited single lib header 2020-02-17 21:10:33 +01:00
beabe26c1d reverted to hand-edited single lib header 2020-02-17 21:10:22 +01:00
99159a9764 reverted to hand-edited single lib header 2020-02-17 21:10:11 +01:00
4db3e6995c improved constructor 2020-02-15 16:37:46 +01:00
260fba5ef7 first commit 2020-02-15 16:37:16 +01:00
61d3c33769 first commit 2020-02-14 18:17:17 +01:00