From ebbc38838b0103c92bc79fd5def1b6a649953d4e Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Tue, 13 Sep 2016 21:08:16 +0200 Subject: [PATCH] New features for network --- tlib/include/tlib/net_constants.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tlib/include/tlib/net_constants.hpp b/tlib/include/tlib/net_constants.hpp index 0ecdb2e1..04c2d182 100644 --- a/tlib/include/tlib/net_constants.hpp +++ b/tlib/include/tlib/net_constants.hpp @@ -114,12 +114,14 @@ enum class socket_domain : size_t { enum class socket_type : size_t { RAW, - DGRAM + DGRAM, + STREAM }; enum class socket_protocol : size_t { ICMP, - DNS + DNS, + TCP }; } // end of network namespace