Hello,
I am trying to send a unsigned long using the send function defined in winsock
that is,
if (send(sockfd, pCatCode, MAXDATASIZE, 0) == -1)
{
printf("Unable to send data\n"
}
pCatCode is a unsigned long but i get the following compile error
cannot convert parameter 2 from 'unsigned long' to 'const char *'
any suggestions
many thanks
I am trying to send a unsigned long using the send function defined in winsock
that is,
if (send(sockfd, pCatCode, MAXDATASIZE, 0) == -1)
{
printf("Unable to send data\n"
}
pCatCode is a unsigned long but i get the following compile error
cannot convert parameter 2 from 'unsigned long' to 'const char *'
any suggestions
many thanks