12 Commits (50ed0b89e9c722ff3eec7182faba1b81508f3f8f)

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.
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 f0e30f28e9 Updated header files to reflect recent change in implementation files 10 months ago
Aadhavan Srinivasan 98abf50da5 Completely rewrote Server class, and split the class into header and implementation 10 months ago
Aadhavan Srinivasan a47e598b5c Removed unnecessary comments 10 months ago
Aadhavan Srinivasan 26427fa257 Added include guards to header files 10 months ago
Aadhavan Srinivasan ee0c106236 Made 'Client' and 'Server' children of 'Sock' class 10 months ago
Aadhavan Srinivasan dda89963c8 Added better error checking for IP version 11 months ago
Aadhavan Srinivasan 735599aebf Fixed errors in call to 'check_ip_ver', and modified error handling 11 months ago
Aadhavan Srinivasan 1359f22f71 Added address parameter to constructor, and added additional error handling 11 months ago
Aadhavan Srinivasan 95dea026d9 Added default constructors; [for client] added code to throw an exception if socket creation was unsuccessful 11 months ago
Aadhavan Srinivasan c87c3ce3a2 Moved header files to source directory; converted easysock to CPP 11 months ago