摘要: CIPAddressCtrl的用法CIPAddressCtrl的值转换成CString,CString转换成CIPAddressCtrlCString strIP="192.168.1.184";m_IPAddr.SetWindowText(strIP);CString strIP;m_IPAddr.GetWindowText(strIP);CString strIP="192.168.1.184... 阅读全文
posted @ 2010-07-22 15:57 kangwang1988 阅读(767) 评论(0) 推荐(0) 编辑
摘要: 网络编程之:IP的ULONG方式字符串方式的相互转化//IpAndStr.cpp:Definestheentrypointfortheconsoleapplication. // #include"stdafx.h" #include<WinSock2.h> #include<Windows.h> #include<iostream> #include<s... 阅读全文
posted @ 2010-07-22 11:41 kangwang1988 阅读(2840) 评论(0) 推荐(0) 编辑