Introduction - If you have any usage issues, please Google them yourself
Procedures for network programs, you should use socket programming, server to achieve for each visit to a client sends a welcome message, the choice of () function to achieve I/O multiplexers, server through socket correlation function to establish a TCP connection, monitor each client visit, when a client initiates a connection to the server, the client file descriptor join listening descriptor set, the client sends a message to the server, and also received a server sent Hello, Welcome Client !.
That the need to write two programs, namely server.c and client.c . The former is mainly d and waiting for clients to access operations and then send a welcome message on the server side, which is mainly access to the host sends commands and receives the welcome message sent the server.