240 Commits (6e0b7f83943a3a15a0b4e90c8c91c761bd70c254)
 

Author SHA1 Message Date
Aadhavan Srinivasan 6e0b7f8394 Updated include path, and set the type if the game mode is M_SINGLE 10 months ago
Aadhavan Srinivasan 4b7880349d Moved submodule location 10 months ago
Aadhavan Srinivasan 14131d8942 Updated README 10 months ago
Aadhavan Srinivasan 6331d81ba3 Updated serialization include 10 months ago
Aadhavan Srinivasan fa0cadfabf Moved serialization files into submodule 10 months ago
Aadhavan Srinivasan b113098c7b Added netpong-serialization submodule 10 months ago
Aadhavan Srinivasan ab7b40f778 Updated TODO 10 months ago
Aadhavan Srinivasan 50ed0b89e9 Updated TODO 10 months ago
Aadhavan Srinivasan 1ab22651ae Updated TODO 10 months ago
Aadhavan Srinivasan b6439bf7d5 Free memory allocated with malloc() 10 months ago
Aadhavan Srinivasan 1641cef13b Changed zip command, so that only one parent directory is included 10 months ago
Aadhavan Srinivasan f42ac94a45 Added check to release script, to check if DLL exists 10 months ago
Aadhavan Srinivasan 4ff840e91e Fixed boneheaded mistake, where I set REUSEADDR for UDP instead of TCP 10 months ago
Aadhavan Srinivasan fd4ad04aeb Removed unnecessary comment 10 months ago
Aadhavan Srinivasan d842485103 Throw errno instead of errno * -1, if an error is encountered with sending or receiving 10 months ago
Aadhavan Srinivasan 3bf65ab8f9 Updated TODO 10 months ago
Aadhavan Srinivasan f3dcbc3b3e Removed check_server_client() function.
It has been replaced by check_server() and check_client().
10 months ago
Aadhavan Srinivasan 463dfbd3e5 IPv6 support for RecvAllNB() 10 months ago
Aadhavan Srinivasan d3716536f9 Minor changes 10 months ago
Aadhavan Srinivasan 8805402241 Return after catching exception 10 months ago
Aadhavan Srinivasan 3d0aeac943 Ensure that REUSEADDR flag is only applied for TCP 10 months ago
Aadhavan Srinivasan c490eaa301 Updated TODO 10 months ago
Aadhavan Srinivasan 0e7ebb4d78 Finished integrating check_server() and check_client(), check_server_client() has been commented out. 10 months ago
Aadhavan Srinivasan c94138ad8b Included new file in compilation process 10 months ago
Aadhavan Srinivasan cfbc726dca Renamed functions to make their purpose more explicit 10 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 10 months ago
Aadhavan Srinivasan 43ba4aba0c Created a file that contains functions for agnostic text output 10 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. 10 months ago
Aadhavan Srinivasan 77a147e08f Updated TODO 10 months ago
Aadhavan Srinivasan 26999a1145 Started working on function to check the number of command-line arguments 10 months ago
Aadhavan Srinivasan f41c3d22e2 Updated TODO 10 months ago
Aadhavan Srinivasan 9f1f313091 Cast sockaddr to sockaddr_storage 10 months ago
Aadhavan Srinivasan 8401f74922 Define WIN32_LEAN_AND_MEAN to avoid including windows.h, when including winsock2.h 10 months ago
Aadhavan Srinivasan d2dd95b7cc Replaced global_args with project_args to prevent build error on MinGW 10 months ago
Aadhavan Srinivasan 5cf11ac014 Added stdint header file 10 months ago
Aadhavan Srinivasan 0dbf8936fd Added a #define for math constants on MinGW 10 months ago
Aadhavan Srinivasan 3ab97b3853 Compile the application if it isn't already compiled 10 months ago
Aadhavan Srinivasan aea8f3dfd2 Updated TODO 11 months ago
Aadhavan Srinivasan 94e08f3863 Used blocking recv here, to ensure that we wait for the server to respond 11 months ago
Aadhavan Srinivasan a847da5339 Added support for printing out the peer's IPv6 address; replaced struct sockaddr with struct sockaddr_storage 11 months ago
Aadhavan Srinivasan 550643281e Replace all instances of sockaddr with sockaddr_storage 11 months ago
Aadhavan Srinivasan ef869710e5 Replaced recvAll call with recvAllNB 11 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. 11 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. 11 months ago
Aadhavan Srinivasan 0a1934fdf9 Updated TODO 11 months ago
Aadhavan Srinivasan 24b2a83044 Used a sockaddr_storage struct instead of a sockaddr struct, since the latter is not big enough for IPv6 11 months ago
Aadhavan Srinivasan 7d4fd929c7 Updated TODO 11 months ago
Aadhavan Srinivasan 54f7dbe7ee Modified recvAllNB() to return an empty string (instead of NULL) if there is nothing to read 11 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.
11 months ago
Aadhavan Srinivasan 6f292699f8 Updated header file to reflect new function 11 months ago