tfNtGetUdpHeaderStr
Table of Contents >> Application Reference >> NETSTAT
| #include <trsocket.h> |
| char * tfNtGetUdpHeaderStr | ( |
| char * buffer, | |
| int * sizePtr | |
| ); |
Function Description
This function retrieves a string containing the UDP socket table header with the major fields.
Parameters
- buffer
- A buffer to hold the resultant string. The size of this buffer should be TM_NT_UDP_TABLE_STR_LEN bytes.
- sizePtr
- A pointer containing the size of buffer when tfNtGetUdpHeaderStr() is called. Upon return, this is a pointer to the actual size of the resultant string.
Returns
- >= 0
- A pointer to the resultant string.
- 0
- One of the following:
- buffer is NULL.
- sizePtr is NULL or less than TM_NT_UDP_TABLE_STR_LEN.