#pragma once #include "error.h" #include //sockaddr_in #include #include #include #include // sockaddr #include void msg__amsg_test(int a); // Creates a socket set's it up to listen to listen on the specified port and // returns the file descriptor int msg__create_serv_connection(int portno); // Closes socket connection void msg__destroy_connection(int sockfd); // Creates a socket for the client and returns the file descriptor int msg__accept_cli_connection(int server_sockfd);