BYTE IPBreakdown[4];
(unsigned long int)IPBreakdown = IPAddress;
printf("%u.%u.%u.%u", IPBreakdown[0], IPBreakdown[1], IPBreakdown[2], IPBreakdown[4]);
%u is probably not the right one to use, but I don''t have the list in front of me and it was the first one that came to mind.
--------------------You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
Visit the ROAD Programming Website for more programming help.