12 Commits (master)

Author SHA1 Message Date
Aadhavan Srinivasan 0058e7e411 Removed ip_ver parameter
I removed this because I realized I could just check the IP version inside
the constructor. The Sock constructor now checks the address passed to it.
Like before, if the address is neither v4 nor v6, an exception is thrown.
Since the Server and Client constructors call the Sock constructor, no change
was required in these files, except passing the right number of parameters.
7 months ago
Aadhavan Srinivasan 69e70eb206 Changed the recvAll return type from std::string to char pointer, and created a non-blocking version of the function 8 months ago
Aadhavan Srinivasan f0e30f28e9 Updated header files to reflect recent change in implementation files 8 months ago
Aadhavan Srinivasan 11d0a1a5ab Completely rewrote Client class, and split the class into header and implementation 8 months ago
Aadhavan Srinivasan a47e598b5c Removed unnecessary comments 8 months ago
Aadhavan Srinivasan 26427fa257 Added include guards to header files 8 months ago
Aadhavan Srinivasan ee0c106236 Made 'Client' and 'Server' children of 'Sock' class 8 months ago
Aadhavan Srinivasan dda89963c8 Added better error checking for IP version 8 months ago
Aadhavan Srinivasan 9a2257780f Fixed errors in call to 'check_ip_ver' 8 months ago
Aadhavan Srinivasan 7c741de587 Added code to throw additional exceptions 8 months ago
Aadhavan Srinivasan 95dea026d9 Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessful 9 months ago
Aadhavan Srinivasan c87c3ce3a2 Moved header files to source directory; converted easysock to CPP 9 months ago