I don't understand, I highlighted the line that is generating the error.
Type: Posts; User: gr8npwrfl
I don't understand, I highlighted the line that is generating the error.
I am trying to compile this code and I am getting an error I don't understand
Here is the section of code:
int main(int argc, char *argv[])
{
int sock;
struct sockaddr_in addr, claddr;
Hello,
I am trying to compile a program using CodeBlocks 8.02 and mingw
I can't figure out how to set codeblocks to use the Makefile that was included with the software I am trying to work on....
Ok I see why I am not getting the result
Thank you
I did not use the ntohl or htonl because I have to choose which one. This works both ways with the same routine
I understand I did not do the unsigned.
but my math is correct.
I changed my function to
int BYTESWAP2(ccmd)
I am an old assembly programmer and I am trying to teach myself c programming.
I have a function that converts a 32 bit value for endianess and I can't figure out why I do not the the corrected...