Im pulling in data through a winsock. The data im pulling in in of type Unsigned Char , Ive see an example that uses the following to displayed the data correctly
Is there any other way to do this, possibly using cout? I also want to convert the data, and then compare it in a switch. Any ways to convert it besides that printf() would be appricated. Thanks.Code:printf("Flags=%d\n",htons(pTcpheader->Flags));