Aadhavan Srinivasan
|
2c735896df
|
Used unsigned int instead of int when converting to base-10
|
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
|
047ff602ed
|
Changed 'char*' to 'const char*' because that's what the underlying functions use
|
10 months ago |
Aadhavan Srinivasan
|
4b3d5387a1
|
Changed code to support Windows libraries and functions as well
|
10 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
|
10 months ago |
Aadhavan Srinivasan
|
349b0b78db
|
Created method to set position of paddle
|
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
|
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
|
edfd70c3cc
|
Created a simple data serialization library, to serialize and deserialize the data to be sent
|
10 months ago |
Aadhavan Srinivasan
|
b47b0eab28
|
Added new exception constants
|
10 months ago |
Aadhavan Srinivasan
|
0c726be147
|
Updated header file to reflect recent change in implementation file
|
10 months ago |
Aadhavan Srinivasan
|
f3ad4fbf99
|
Defined constants for TCP and UDP, instead of using the characters themselves
|
10 months ago |
Aadhavan Srinivasan
|
f0e30f28e9
|
Updated header files to reflect recent change in implementation files
|
10 months ago |
Aadhavan Srinivasan
|
350b51e28b
|
Added additional code to easysock library
|
10 months ago |
Aadhavan Srinivasan
|
b07b3fc584
|
Renamed 'connect-helpers' to 'connect_code'
|
10 months ago |
Aadhavan Srinivasan
|
41f44797a1
|
Split connect_code file into header and implementation
|
10 months ago |
Aadhavan Srinivasan
|
11d0a1a5ab
|
Completely rewrote Client class, and split the class into header and implementation
|
10 months ago |
Aadhavan Srinivasan
|
98abf50da5
|
Completely rewrote Server class, and split the class into header and implementation
|
10 months ago |
Aadhavan Srinivasan
|
98160f0071
|
Renamed 'math-helpers.hpp' to 'sign.hpp'
|
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
|
acf8271126
|
Renamed 'math-helpers.hpp' to 'sign.hpp' and updated main.cpp to reflect the change
|
10 months ago |
Aadhavan Srinivasan
|
3a7793bde8
|
Renamed header file include
|
10 months ago |
Aadhavan Srinivasan
|
13da015683
|
Renamed base-helpers to numeric_base, and separated numeric_base into header and implementation files
|
10 months ago |
Aadhavan Srinivasan
|
a47e598b5c
|
Removed unnecessary comments
|
10 months ago |
Aadhavan Srinivasan
|
17b391c1c3
|
Split 'paddle' class into header and implementation files
|
10 months ago |
Aadhavan Srinivasan
|
86411ae907
|
Split 'Ball' class into header and implementation files
|
10 months ago |
Aadhavan Srinivasan
|
26427fa257
|
Added include guards to header files
|
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
|
ee0c106236
|
Made 'Client' and 'Server' children of 'Sock' class
|
10 months ago |
Aadhavan Srinivasan
|
2e6b01a9bb
|
Defined a parent 'socket' class that both 'Client' and 'Server' can inherit from
|
10 months ago |
Aadhavan Srinivasan
|
f9bfefe3ad
|
Included additional header
|
10 months ago |
Aadhavan Srinivasan
|
4378aa3c6a
|
Added code to deal with improperly formatted codes
|
11 months ago |
Aadhavan Srinivasan
|
c8bc17fbce
|
Added additional functions for windows-specific actions
|
11 months ago |
Aadhavan Srinivasan
|
912435bfa3
|
Added new exception for invalid IP, used it if IP address is neither v4 nor v6
|
11 months ago |
Aadhavan Srinivasan
|
dda89963c8
|
Added better error checking for IP version
|
11 months ago |
Aadhavan Srinivasan
|
6ba3452087
|
Added new exception constant
|
11 months ago |
Aadhavan Srinivasan
|
9a2257780f
|
Fixed errors in call to 'check_ip_ver'
|
11 months ago |
Aadhavan Srinivasan
|
735599aebf
|
Fixed errors in call to 'check_ip_ver', and modified error handling
|
11 months ago |
Aadhavan Srinivasan
|
ca952e8814
|
Modified header file to match change in CPP file
|
11 months ago |
Aadhavan Srinivasan
|
1359f22f71
|
Added address parameter to constructor, and added additional error handling
|
11 months ago |
Aadhavan Srinivasan
|
7c741de587
|
Added code to throw additional exceptions
|
11 months ago |
Aadhavan Srinivasan
|
fbea42df25
|
Change encoded base from hexadecimal to base 32
|
11 months ago |
Aadhavan Srinivasan
|
74b9ae5fe8
|
No real change
|
11 months ago |
Aadhavan Srinivasan
|
6cfdddc204
|
Added new exception const
|
11 months ago |
Aadhavan Srinivasan
|
cb525c4097
|
Added code to help convert between number bases
|
11 months ago |
Aadhavan Srinivasan
|
bad8d4a7cc
|
Added new exception const
|
11 months ago |
Aadhavan Srinivasan
|
5c09b782b9
|
Added helper file for connect code
|
11 months ago |
Aadhavan Srinivasan
|
6945ebb2c1
|
Added exception_consts file
|
11 months ago |
Aadhavan Srinivasan
|
e6f328ea1d
|
Added raylib-cpp header files to my project
|
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 |