#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; }