UDP soket 客户端
1.使用VC++6.0,创建基于对话框的应用程序2.工程包含afxsock.h头文件3.在对话框界面拖一个按钮,添加程序 void CFaDlg::OnButton1() { // TODO: Add your control notification handler code here CString STR = "10.53.31.175"; //BOOL RET = ClientSc.Create(); BOOL RET = ClientSc.Create(0,SOCK_DGRAM,NULL); if
原创
2011-05-19 17:04:00 ·
466 阅读 ·
0 评论