Aadhavan Srinivasan
|
a847da5339
|
Added support for printing out the peer's IPv6 address; replaced struct sockaddr with struct sockaddr_storage
|
10 months ago |
Aadhavan Srinivasan
|
fc59a7221b
|
Removed unnecessary #include
|
10 months ago |
Aadhavan Srinivasan
|
6acbf90d80
|
Updated UNIX macro checks, to account for MacOS
|
10 months ago |
Aadhavan Srinivasan
|
83a0d5beb4
|
Updated files to reflect change in easysock (from CPP to C)
|
10 months ago |
Aadhavan Srinivasan
|
64aa4b1850
|
Replaced 'linux' with '__unix__' because the same header files are included on macOS as well.
|
10 months ago |
Aadhavan Srinivasan
|
4b3d5387a1
|
Changed code to support Windows libraries and functions as well
|
10 months ago |
Aadhavan Srinivasan
|
c6bbe82d25
|
Made the 'recvAll' function return a char pointer instead of a std::string, this is better for portability. Also created a non-blocking version of the function.
|
10 months ago |
Aadhavan Srinivasan
|
9954a18171
|
Made the sendAll and recvAll functions in sock.cpp use variables set by the children, rather than having the functions pass parameters
|
10 months ago |
Aadhavan Srinivasan
|
98abf50da5
|
Completely rewrote Server class, and split the class into header and implementation
|
10 months ago |