Тема: how to send acknowledgment byte for Retranslator
hello gurtam team, how i can send acknowledgment byte 0x11 for retranslator? here is my code but it does not works ...
Written in C++
if (s==INVALID_SOCKET){/* error handling code*/}
else{
char Buffer[512]; // Packet Buffer
int recbyte = recv(s,Buffer,256,0);
for(int count = 0; count < recbyte; count++){
if(full == ""){full = Buffer[count];}
else{full = full+Buffer[count];}
}
//Here i want send acknowledgment Byte
send(s, "\0x11", 4, 0);
cout << full << "\n";
WSACleanup(); //Clean up Winsock
full = "";
socket_listen();
}//Accept
Великий и ужасный Гиоргий Каладзе