237 Commits (6331d81ba394cdcc56199a5bf9370c77f5489cae)
 

Author SHA1 Message Date
Aadhavan Srinivasan 6331d81ba3 Updated serialization include 9 months ago
Aadhavan Srinivasan fa0cadfabf Moved serialization files into submodule 9 months ago
Aadhavan Srinivasan b113098c7b Added netpong-serialization submodule 9 months ago
Aadhavan Srinivasan ab7b40f778 Updated TODO 9 months ago
Aadhavan Srinivasan 50ed0b89e9 Updated TODO 9 months ago
Aadhavan Srinivasan 1ab22651ae Updated TODO 9 months ago
Aadhavan Srinivasan b6439bf7d5 Free memory allocated with malloc() 9 months ago
Aadhavan Srinivasan 1641cef13b Changed zip command, so that only one parent directory is included 9 months ago
Aadhavan Srinivasan f42ac94a45 Added check to release script, to check if DLL exists 9 months ago
Aadhavan Srinivasan 4ff840e91e Fixed boneheaded mistake, where I set REUSEADDR for UDP instead of TCP 9 months ago
Aadhavan Srinivasan fd4ad04aeb Removed unnecessary comment 9 months ago
Aadhavan Srinivasan d842485103 Throw errno instead of errno * -1, if an error is encountered with sending or receiving 9 months ago
Aadhavan Srinivasan 3bf65ab8f9 Updated TODO 9 months ago
Aadhavan Srinivasan f3dcbc3b3e Removed check_server_client() function.
It has been replaced by check_server() and check_client().
9 months ago
Aadhavan Srinivasan 463dfbd3e5 IPv6 support for RecvAllNB() 9 months ago
Aadhavan Srinivasan d3716536f9 Minor changes 9 months ago
Aadhavan Srinivasan 8805402241 Return after catching exception 9 months ago
Aadhavan Srinivasan 3d0aeac943 Ensure that REUSEADDR flag is only applied for TCP 9 months ago
Aadhavan Srinivasan c490eaa301 Updated TODO 9 months ago
Aadhavan Srinivasan 0e7ebb4d78 Finished integrating check_server() and check_client(), check_server_client() has been commented out. 9 months ago
Aadhavan Srinivasan c94138ad8b Included new file in compilation process 9 months ago
Aadhavan Srinivasan cfbc726dca Renamed functions to make their purpose more explicit 9 months ago
Aadhavan Srinivasan ec2f3320e3 Replaced display_text_centered() with the environment-agnostic display_text() function; Changed function to include parameter to indicate environment type 9 months ago
Aadhavan Srinivasan 43ba4aba0c Created a file that contains functions for agnostic text output 9 months ago
Aadhavan Srinivasan c2bedb0601 Wrote the check_num_args() function; still need to integrate it into the program. Also wrote a help text that is printed with -h flag. 9 months ago
Aadhavan Srinivasan 77a147e08f Updated TODO 9 months ago
Aadhavan Srinivasan 26999a1145 Started working on function to check the number of command-line arguments 9 months ago
Aadhavan Srinivasan f41c3d22e2 Updated TODO 9 months ago
Aadhavan Srinivasan 9f1f313091 Cast sockaddr to sockaddr_storage 9 months ago
Aadhavan Srinivasan 8401f74922 Define WIN32_LEAN_AND_MEAN to avoid including windows.h, when including winsock2.h 9 months ago
Aadhavan Srinivasan d2dd95b7cc Replaced global_args with project_args to prevent build error on MinGW 9 months ago
Aadhavan Srinivasan 5cf11ac014 Added stdint header file 9 months ago
Aadhavan Srinivasan 0dbf8936fd Added a #define for math constants on MinGW 9 months ago
Aadhavan Srinivasan 3ab97b3853 Compile the application if it isn't already compiled 10 months ago
Aadhavan Srinivasan aea8f3dfd2 Updated TODO 10 months ago
Aadhavan Srinivasan 94e08f3863 Used blocking recv here, to ensure that we wait for the server to respond 10 months ago
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 550643281e Replace all instances of sockaddr with sockaddr_storage 10 months ago
Aadhavan Srinivasan ef869710e5 Replaced recvAll call with recvAllNB 10 months ago
Aadhavan Srinivasan 00d20ebc88 Used the non-blocking recv function, to ensure that the game doesn't hang if the server doesn't respond. 10 months ago
Aadhavan Srinivasan 839efc3c44 Replaced all instances of struct sockaddr with struct sockaddr_storage, since it can fit v6 addresses as well. Cast values accordingly. 10 months ago
Aadhavan Srinivasan 0a1934fdf9 Updated TODO 10 months ago
Aadhavan Srinivasan 24b2a83044 Used a sockaddr_storage struct instead of a sockaddr struct, since the latter is not big enough for IPv6 10 months ago
Aadhavan Srinivasan 7d4fd929c7 Updated TODO 10 months ago
Aadhavan Srinivasan 54f7dbe7ee Modified recvAllNB() to return an empty string (instead of NULL) if there is nothing to read 10 months ago
Aadhavan Srinivasan 06f44d385d Allow user to quit in menu screen; better error handling.
I set up a try-catch to catch the exception thrown by the Server/Client when
it can't create a socket. I also used display_and_exit() to
automatically close the window after the text has been displayed.
10 months ago
Aadhavan Srinivasan 6f292699f8 Updated header file to reflect new function 10 months ago
Aadhavan Srinivasan 6a40a596c1 Added new function to display text then exit 10 months ago
Aadhavan Srinivasan fc59a7221b Removed unnecessary #include 10 months ago
Aadhavan Srinivasan 7f0898c81e Updated TODO 10 months ago