summaryrefslogtreecommitdiff
path: root/src/main.c
blob: 43d5b885f2d0b6aa41a27d59665dcdf9f19c6fbf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#include <stdio.h>
#include <sys/socket.h>

int main() {
  int server = socket(AF_INET, SOCK_STREAM, 0);
  if (server == -1) {
      perror("could not open socket");
      return 1;
  }
  printf("hello world\n");
  return 0;
}