tfInetToAscii
Table of Contents >> Programmer's Reference
| #include <trsocket.h> |
| void tfInetToAscii | ( |
| unsigned long ipAddress, | |
| char * outputBuffer | |
| ); |
Function Description
This function is used to convert an IP address to the dotted string notation.
Parameters
- ipAddress
- The IP address to convert.
- outputBuffer
- A character buffer to store the result into. It is the caller's responsibility to ensure that there is ample room in the buffer for the null terminated string. The output will never be longer than 16 bytes.