Here my question.I want to know what headers would be good to use in C++ if i want to use this headers i seen in a sourcecode i been reading?Or can i use C and C++ in the same program?But not sure how to do sockets in c++ and how can i do that in C++ same as C?

#include <unistd.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <poll.h>
#include <features.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <errno.h>
#include <ctype.h>