Description: Network chat, (1) create the string ipstr (save IP), portstr (save port), integer port (port number). The ② advantage of GetDlgItemText edit box is assigned to the corresponding variable. ③ to monitor the port number and IP format and set the appropriate error ④ are prompted to set a connection is established.
To Search:
File list (Check if you may need any files):
客户端\Client.cpp
......\Client.h
......\Debug\Client.obj
......\.....\Lx1.exe
......\.....\Lx1.ilk
......\.....\Lx1.obj
......\.....\Lx1.pch
......\.....\Lx1.pdb
......\.....\Lx1.res
......\.....\Lx1Dlg.obj
......\.....\StdAfx.obj
......\.....\vc60.idb
......\.....\vc60.pdb
......\Lx1.aps
......\Lx1.clw
......\Lx1.cpp
......\Lx1.dsp
......\Lx1.dsw
......\Lx1.h
......\Lx1.ncb
......\Lx1.opt
......\Lx1.plg
......\Lx1.rc
......\Lx1Dlg.cpp
......\Lx1Dlg.h
......\ReadMe.txt
......\res\Lx1.ico
......\...\Lx1.rc2
......\resource.h
......\StdAfx.cpp
......\StdAfx.h
服务器端\Debug\LX2.exe
........\.....\LX2.ilk
........\.....\LX2.obj
........\.....\LX2.pch
........\.....\LX2.pdb
........\.....\LX2.res
........\.....\LX2Dlg.obj
........\.....\Server.obj
........\.....\StdAfx.obj
........\.....\vc60.idb
........\.....\vc60.pdb
........\LX2.APS
........\LX2.clw
........\LX2.cpp
........\LX2.dsp
........\LX2.dsw
........\LX2.h
........\LX2.ncb
........\LX2.opt
........\LX2.plg
........\LX2.rc
........\LX2Dlg.cpp
........\LX2Dlg.h
........\ReadMe.txt
........\res\LX2.ico
........\...\LX2.rc2
........\resource.h
........\Server.cpp
........\Server.h
........\StdAfx.cpp
........\StdAfx.h
聊天程序.txt
客户端\Debug
......\res
服务器端\Debug
........\res
客户端
服务器端