Introduction - If you have any usage issues, please Google them yourself
TCP/IP communication is basically the use of SOCKET sockets for data communication, and the program is generally divided into two parts: the server and the client.
The first part of the server
Create server socket (create).
2. The server socket is binding (bind) and begins listening.
Accept the connection request from the client.
4. Start data transmission (send/receive).
Close the socket (closesocket).
The second part of the client
Create user socket (create).
2. Connect with the remote server (connect) and create the receiving process if accepted.
3. Start data transmission (send/receive).
Close the socket (closesocket).
Packet : 81404572localnetchat.rar filelist
Logon\res\1.ico
Logon\res\Server.ico
Logon\res\Server.rc2
Logon\res
Logon\resource.h
Logon\Server.clw
Logon\Server.cpp
Logon\Server.dsp
Logon\Server.dsw
Logon\Server.h
Logon\Server.rc
Logon\ServerDlg.cpp
Logon\ServerDlg.h
Logon\StdAfx.cpp
Logon\StdAfx.h
Logon\User.cpp
Logon\User.h
Logon
Use End\avi\begin.avi
Use End\avi
Use End\Chat.cpp
Use End\Chat.h
Use End\Client.clw
Use End\Client.cpp
Use End\Client.dsp
Use End\Client.dsw
Use End\Client.h
Use End\Client.rc
Use End\ClientDlg.cpp
Use End\ClientDlg.h
Use End\data\1.db
Use End\data\1.fly
Use End\data\2.db
Use End\data\2.fly
Use End\data\test.db
Use End\data\test.fly
Use End\data
Use End\face\01.ico
Use End\face\02.ico
Use End\face\03.ico
Use End\face\04.ico
Use End\face\05.ico
Use End\face\06.ico
Use End\face\07.ico
Use End\face\08.ico
Use End\face\09.ico
Use End\face\1.bmp
Use End\face\10.ico
Use End\face\11.ico
Use End\face\12.ico
Use End\face\13.ico
Use End\face\14.ico
Use End\face\15.ico
Use End\face\16.ico
Use End\face\17.ico
Use End\face\18.ico
Use End\face\19.ico
Use End\face\20.ico
Use End\face\21.ico
Use End\face\22.ico
Use End\face\23.ico
Use End\face\24.ico
Use End\face\25.ico
Use End\face\Client.ico
Use End\face\Client.rc2
Use End\face\icon26.ico
Use End\face
Use End\IconComboBox.cpp
Use End\IconComboBox.h
Use End\music\begin.wav
Use End\music\msg.wav
Use End\music
Use End\MyIntro.cpp
Use End\MyIntro.h
Use End\MySocket.cpp
Use End\MySocket.h
Use End\Register.cpp
Use End\Register.h
Use End\res\Client.rc2
Use End\res
Use End\resource.h
Use End\StdAfx.cpp
Use End\StdAfx.h
Use End
Server\ChatServer.clw
Server\ChatServer.cpp
Server\ChatServer.dsp
Server\ChatServer.dsw
Server\ChatServer.h
Server\ChatServer.rc
Server\ChatServerDlg.cpp
Server\ChatServerDlg.h
Server\res\ChatServer.ico
Server\res\ChatServer.rc2
Server\res
Server\resource.h
Server\StdAfx.cpp
Server\StdAfx.h
Server
netuser.mdb