Description: Write your own code. MFC CSocket class, the use of long TCP/IP connection, so that each computer in the LAN can take the initiative to send data to each other, the establishment of many-to-many links, the means of identification is the machine name the+ port number. The code also addresses the problem Close_wait, reconnection, as well as active disconnected. Has a connection pool, data buffer pool.
To Search:
File list (Check if you may need any files):
(v1.02)Server
.............\Comm.cpp
.............\Comm.h
.............\Debug
.............\.....\Comm.obj
.............\.....\MySocket.obj
.............\.....\MyTable.obj
.............\.....\Server.exe
.............\.....\Server.ilk
.............\.....\Server.obj
.............\.....\Server.pch
.............\.....\Server.pdb
.............\.....\Server.res
.............\.....\ServerDlg.obj
.............\.....\StdAfx.obj
.............\.....\UserAPI.obj
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\MySocket.cpp
.............\MySocket.h
.............\MyTable.cpp
.............\MyTable.h
.............\ReadMe.txt
.............\Release
.............\.......\Comm.obj
.............\.......\MySocket.obj
.............\.......\MyTable.obj
.............\.......\Server.exe
.............\.......\Server.obj
.............\.......\Server.pch
.............\.......\Server.res
.............\.......\ServerDlg.obj
.............\.......\StdAfx.obj
.............\.......\UserAPI.obj
.............\.......\vc60.idb
.............\res
.............\...\Server.ico
.............\...\Server.rc2
.............\resource.h
.............\Server.aps
.............\Server.clw
.............\Server.cpp
.............\Server.dsp
.............\Server.dsw
.............\Server.h
.............\Server.ncb
.............\Server.opt
.............\Server.plg
.............\Server.rc
.............\ServerDlg.cpp
.............\ServerDlg.h
.............\StdAfx.cpp
.............\StdAfx.h
.............\UserAPI.cpp
.............\UserAPI.h
(v1.02)Client
.............\Client.aps
.............\Client.clw
.............\Client.cpp
.............\Client.dsp
.............\Client.dsw
.............\Client.h
.............\Client.ncb
.............\Client.opt
.............\Client.plg
.............\Client.rc
.............\ClientDlg.cpp
.............\ClientDlg.h
.............\Comm.cpp
.............\Comm.h
.............\Debug
.............\.....\Client.bsc
.............\.....\Client.exe
.............\.....\Client.ilk
.............\.....\Client.obj
.............\.....\Client.pch
.............\.....\Client.pdb
.............\.....\Client.res
.............\.....\Client.sbr
.............\.....\ClientDlg.obj
.............\.....\ClientDlg.sbr
.............\.....\Comm.obj
.............\.....\Comm.sbr
.............\.....\MySocket.obj
.............\.....\MySocket.sbr
.............\.....\StdAfx.obj
.............\.....\StdAfx.sbr
.............\.....\UserAPI.obj
.............\.....\UserAPI.sbr
.............\.....\vc60.idb
.............\.....\vc60.pdb
.............\MySocket.cpp
.............\MySocket.h
.............\ReadMe.txt
.............\Release
.............\.......\Client.exe
.............\.......\Client.obj
.............\.......\Client.pch
.............\.......\Client.res
.............\.......\ClientDlg.obj