added main comment

This commit is contained in:
Chamaeleon 2018-10-29 10:28:49 +01:00
parent 28363ffc29
commit eeee59c175

View file

@ -273,6 +273,9 @@ int client()
return 0;
}
/// The main method, starts depending on the args as client or server
/// @param argc argument count
/// @param argv array of options, -c for client followed by hostname and port
int main(int argc, char *argv[])
{
SOCKFD = 0;