土
土拨鼠
Unregistered / Unconfirmed
GUEST, unregistred user!
在C环境下有这样一段代码:
unsigned long packlen, packlen1, lentmp;
.....
int netint = htonl(packlen);
write( sock, &netint, 4 );
lentmp=htonl(0x00000001);
write( sock, &lentmp, 4 );
在dephi环境下怎么写这段代码?请高手指教!谢谢!
unsigned long packlen, packlen1, lentmp;
.....
int netint = htonl(packlen);
write( sock, &netint, 4 );
lentmp=htonl(0x00000001);
write( sock, &lentmp, 4 );
在dephi环境下怎么写这段代码?请高手指教!谢谢!