Aadhavan Srinivasan
|
64aa4b1850
|
Replaced 'linux' with '__unix__' because the same header files are included on macOS as well.
|
10 months ago |
Aadhavan Srinivasan
|
8e3488b904
|
Added a virtual destructor to the Sock class, which would allow Server and Client to override it
|
10 months ago |
Aadhavan Srinivasan
|
4b3d5387a1
|
Changed code to support Windows libraries and functions as well
|
10 months ago |
Aadhavan Srinivasan
|
a37ec79f09
|
Changed 'recvAll' return type from std::string to char pointer, and created a non-blocking version of the function
|
10 months ago |
Aadhavan Srinivasan
|
f0e30f28e9
|
Updated header files to reflect recent change in implementation files
|
10 months ago |
Aadhavan Srinivasan
|
cacc4f9d33
|
Included string header instead of iostream header, as this file doesn't need iostream
|
10 months ago |
Aadhavan Srinivasan
|
195d6c4b4b
|
Separated 'Sock' file into header and implementation file, and added include guards to header file
|
10 months ago |
Aadhavan Srinivasan
|
2e6b01a9bb
|
Defined a parent 'socket' class that both 'Client' and 'Server' can inherit from
|
10 months ago |