16,472
社区成员
发帖
与我相关
我的任务
分享
#include <windows.h>
void xxxx()
{
BYTE newIP[4]={192,168,0,111};
WORD newCmdPort=3000;
WORD newImgPort=4001;
//
const BYTE temp[8]={newIP[0],newIP[1],newIP[2],newIP[3],
LOBYTE(newCmdPort),
HIBYTE(newCmdPort),
LOBYTE(newImgPort),
HIBYTE(newImgPort)};
}
memcpy(ipRemoteChange, temp, 8);