Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Internet-Network
Title: chat Download
 Description: Simulated qq chat rooms. server side: using tcp protocol creates socket to get the IP address of the machine, select an available port number, bind them, and then listen for client-side waiting for the socket connection. Upon receipt of the client-side connection request, create a thread to interact with the client side. client side: Similar to server-side, to create a socket, note the IP and port number and server-side match. Before sending a connection request on the server side, enter your user name, and then connect server, you can receive the data sent by other client-side, but they can also send data to the server side, the chat room feature is realized.
 Downloaders recently: [More information of uploader 徐鹏]
 To Search:
File list (Check if you may need any files):
 

chat
....\client.c
....\server.c
    

CodeBus www.codebus.net