Segmentation fault (core dumped) error C linux sockets -
Please send me the program through sockets, but this error shows the segmentation fault when I run it The server uses the thread to implement multiple clients. Thanks! This is my final project! This is the server code: # include & lt; Stdio.h & gt; #to & lt include, string.h & gt; #to & lt include, stdlib.h & gt; Sys / socket.h & gt; #includes & lt; # Include & lt; ARPA / inet.h & gt; # Include & lt; Unistd.h & gt; #to & lt include, pthread.h & gt; Static const int BUFFER_SIZE = 1024; // Producer Halo Zero * Connection_Handler (Zero *); Int main (int argc, char * argv []) {int socket_desc, client_sock, c, * new_sock; Struct sockaddr_in server, client; // craker socket socket_desc = socket (AF_INET, SOCK_STREAM, 0); If (socket_desc == -1) // Error al-sial EL socket {printf ("Error Alla CREAR EL Socket"); } ("Socket creeda"); // Socket CREDA // Walos Dell Socket Server. Sin_family = AF_INET; // Socket IP...