AlexanderJDupree / Bridges

HTTP/S Server and Library for C++
MIT License
2 stars 0 forks source link

Socket streams #11

Closed AlexanderJDupree closed 4 years ago

AlexanderJDupree commented 4 years ago

Finished first version of a working Socket abstraction. The socket abstraction simplifies the act of binding and listening on a port as well as accepting connections. Once connected the socket can be read a line at a time or the old fashioned way with a buffer via the read method. The destructor DOES not close the socket. So the programmer will still need to use the close or shutdown methods.