diff --git a/webserver b/webserver new file mode 100755 index 0000000..78ed470 Binary files /dev/null and b/webserver differ diff --git a/webserver.c b/webserver.c new file mode 100644 index 0000000..2bd4c95 --- /dev/null +++ b/webserver.c @@ -0,0 +1,15 @@ +#include +#include +#include +#include + +int main() { + int sockfd = socket(AF_INET, SOCK_STREAM, 0); + if(sockfd == -1) { + perror("webserve (socket)"); + return 1; + } + printf("socket created successfully\n"); + + return 0; +}