15 lines
268 B
C
15 lines
268 B
C
#include <netinet/in.h>
|
|
#include <stdlib.h>
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
int main(int argc, const char **argv) {
|
|
int fd = socket(AF_INET, SOCK_STREAM, 0);
|
|
if (fd < 0) {
|
|
perror("socket()");
|
|
return EXIT_FAILURE;
|
|
}
|
|
|
|
return 0;
|
|
}
|