Commit graph

44 commits

Author SHA1 Message Date
Jan-Frederick Musiol
cb1edaf1b7 Merge remote-tracking branch 'origin/master' 2018-10-29 11:57:09 +01:00
Jan-Frederick Musiol
1e0c461dd4 added "client:" and "server:" to some outputs 2018-10-29 11:56:43 +01:00
Tim Schubert
e873bc4161 Add test for empty line 2018-10-29 11:54:59 +01:00
Tim Schubert
8dabb3fba8 Fix: getlen gets wrong buffer size 2018-10-29 11:46:16 +01:00
Tim Schubert
23b328b7bd Merge branch 'master' of gitlab.ibr.cs.tu-bs.de:tschuber/netcalc 2018-10-29 11:41:18 +01:00
Tim Schubert
57a3406522 Fix: v6 socket. Free line at end 2018-10-29 11:40:29 +01:00
Jan-Frederick Musiol
d19ec0764e client closes on emty line 2018-10-29 11:28:37 +01:00
Tim Schubert
4d7d96872a Merge branch 'master' of gitlab.ibr.cs.tu-bs.de:tschuber/netcalc 2018-10-29 11:10:51 +01:00
Tim Schubert
92b51776b6 Add documentatin for calc() 2018-10-29 11:09:58 +01:00
Chamaeleon
9be777068f Merge remote-tracking branch 'origin/master' 2018-10-29 11:08:06 +01:00
Chamaeleon
1665d3140e added more comments 2018-10-29 11:07:42 +01:00
Tim Schubert
7bcacfecac Add documentation for parse() 2018-10-29 11:00:56 +01:00
Tim Schubert
031905ab5e Adds documentation for client and server 2018-10-29 10:51:44 +01:00
Tim Schubert
5b1648e471 Add documentation for server() 2018-10-29 10:46:59 +01:00
Tim Schubert
bb66ef1a03 Add documentation for report_error 2018-10-29 10:44:02 +01:00
Tim Schubert
9a59cee745 Add documentation for bstr 2018-10-29 10:38:32 +01:00
Tim Schubert
880a77ff65 Merge branch 'master' of gitlab.ibr.cs.tu-bs.de:tschuber/netcalc 2018-10-29 10:32:57 +01:00
Tim Schubert
a8757731b3 Reformat codebase 2018-10-29 10:30:10 +01:00
Chamaeleon
eeee59c175 added main comment 2018-10-29 10:28:49 +01:00
tim.schubert@tu-bs.de
116e9e60c5 Gets correct error message. 2016-11-22 12:37:45 +01:00
tim.schubert@tu-bs.de
5a1a3d1fcb Register the signal handler before opening the socket that is closed by it. 2016-10-30 02:37:19 +02:00
tim.schubert@tu-bs.de
c427beca1c Fix accept on closed socket. 2016-10-30 02:04:43 +02:00
tim.schubert@tu-bs.de
04d5638c02 Add help message. 2016-10-30 00:12:16 +02:00
tim.schubert@tu-bs.de
c0ff7fa9f0 Fix error handling. Remove debug printfs. 2016-10-30 00:03:50 +02:00
tim.schubert@tu-bs.de
9398a4081b Do away with ZORK. 2016-10-29 23:39:30 +02:00
tim.schubert@tu-bs.de
d4f77ba2e1 Fix format string for sscanf. 2016-10-29 23:20:01 +02:00
tim.schubert@tu-bs.de
b6f36d4380 Fixed %u and %s mixup. 2016-10-28 19:09:10 +02:00
tim.schubert@tu-bs.de
c06aad7cdc Fix sending \0 in client mode. 2016-10-28 18:58:46 +02:00
tim.schubert@tu-bs.de
f57b204029 Fix AF_INET6 / AF_UNSPEC mixup. 2016-10-28 15:32:26 +02:00
tim.schubert@tu-bs.de
0b74b5e054 Disable AI_PASSIVE for client sockets. 2016-10-28 15:09:41 +02:00
tim.schubert@tu-bs.de
f42b7a354d Get rid of ZORK 2016-10-28 00:29:31 +02:00
tim.schubert@tu-bs.de
1f42a13ee0 Create and tranmit string from binary representation of result. 2016-10-28 00:18:19 +02:00
tim.schubert@tu-bs.de
80dc59be01 Fix base encoding beeing skipped when parsing string. 2016-10-27 23:07:07 +02:00
tim.schubert@tu-bs.de
7e2f5a7673 Check first number. 2016-10-27 21:33:42 +02:00
tim.schubert@tu-bs.de
71aa81ef00 Send job and receive answer in client mode. 2016-10-27 21:22:15 +02:00
tim.schubert@tu-bs.de
85a5452600 Cleanup error handling. 2016-10-27 17:10:22 +02:00
tim.schubert@tu-bs.de
13a38cd92e Cleanup... 2016-10-27 13:04:12 +02:00
tim.schubert@tu-bs.de
b98c794591 Bind to IPv6+IPv4 adresses. 2016-10-27 00:59:04 +02:00
tim.schubert@tu-bs.de
03848777b2 Fix some parser errors. 2016-10-26 23:55:47 +02:00
tim.schubert@tu-bs.de
1f9785e9c8 Add error message for illegal input. 2016-10-26 22:28:04 +02:00
tim.schubert@tu-bs.de
089fe12128 Check for division by zero and overflow / underflow. 2016-10-26 22:20:19 +02:00
tim.schubert@tu-bs.de
f3799c90d0 Add parsing of input, calculation of results, sending back result. 2016-10-26 21:56:02 +02:00
tim.schubert@tu-bs.de
54216cfaf4 Answer with received string. 2016-10-26 15:47:00 +02:00
tim.schubert@tu-bs.de
6fd4569a6d Initial commit. 2016-10-26 14:32:50 +02:00