www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - TCP/IP API


InetToAscii

Convert an IP address to an ASCII dotted decimal IP string.

int InetToAscii ( const unsigned long IPAddress,
                  char far *IPAddressStringPtr );

Parameters

IPAddress

Pointer to the 32 bit IP address in network byte order ("big endian").

IPAddressStringPtr

Output parameter:   Pointer to a 17 character buffer (minimum) where a null terminated ASCII string will be written by this API function containing the IP address expressed in dotted decimal notation.

Return Value

Always 0

Comments

This buffer at IPAddressStringPtr must have space for 17 Bytes!.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document