both protocols work
This commit is contained in:
parent
8396042e83
commit
010c9286eb
@ -6,7 +6,7 @@
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
// TODO: arg options for tcp or udp
|
||||
udp();
|
||||
tcp();
|
||||
|
||||
return 0;
|
||||
}
|
||||
@ -4,7 +4,7 @@ int main(int argc, char *argv[]) {
|
||||
// char quote[1024];
|
||||
// getRandomQuote(quote);
|
||||
// printf("%s\n", quote);
|
||||
udpServer();
|
||||
tcpServer();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user