2025-01-07 15:17:17 +02:00
|
|
|
#include <netinet/in.h>
|
|
|
|
#include <stdlib.h>
|
2024-11-20 15:39:10 +02:00
|
|
|
#include <assert.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2024-11-15 23:18:04 +02:00
|
|
|
int main(int argc, const char **argv) {
|
2025-01-07 15:17:17 +02:00
|
|
|
int fd = socket(AF_INET, SOCK_STREAM, 0);
|
|
|
|
if (fd < 0) {
|
|
|
|
perror("socket()");
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
}
|
|
|
|
|
2024-11-11 15:19:36 +02:00
|
|
|
return 0;
|
|
|
|
}
|