refactoring of tcp

This commit is contained in:
cozis
2023-08-31 13:29:56 +02:00
parent 3489f62140
commit 5f3f7dc66d
12 changed files with 510 additions and 254 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ int main(void)
return -1;
}
uint16_t port = 80;
uint16_t port = 8081;
microtcp_socket_t *server = microtcp_open(mtcp, port, &errcode);
if (errcode) {
fprintf(stderr, "Error: %s\n", microtcp_strerror(errcode));