Hi folks
I have the following

dbgprint("Lower provider socket = 0x%x LSP Socket = 0x%x\n", NextProviderSocket, NewSocket);

which outputs the hex value of NextProviderSocket, NewSocket..
How can i convert that to integer value?? what is the conversion code??

would appreciate your response