#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<errno.h>
#include<stdio.h>
int main()
{
int sockfd;
// Socket Creation sockfd=socket(AF_INET,SOCK_STREAM,0);
if(sockfd<0)
perror("\nSocket Creation Failed\n"); exit(1);
}
else
printf("\nSocket Successfully Created\n");
printf("\n Hello, Socket Decriptor Value is %d \n",sockfd);
return 0;