Reply To: Downloading file (NDIS IM)

Home Forums Discussions General Discussion Downloading file (NDIS IM) Reply To: Downloading file (NDIS IM)

#6226

lexer666
Participant

Код исправил, но с отправкой пакета все равно проблемы.


char * myHTTPs;
myHTTPs = "HEAD / HTTP/1.1rnHost: www.ntkernel.com";
size = strlen(myHTTPs) + 1;
//копирую HTTP заголовки после TCP/IP заголовков
memcpy(pNewPayload + usHeaders,myHTTPs,size);