tfTeldUserGetPointer
Table of Contents >> Application Reference >> Telnet Daemon
| #include <trsocket.h> |
| void TM_FAR * tfTeldUserGetPointer | (ttUserTeldHandle teldHandle); |
Function Description
This function retrieves the user-defined pointer for a Telnet connection. Call tfTeldUserStorePointer() to install a user-defined pointer for a Telnet connection. If no pointer has been set, NULL is returned.
Parameters
- teldHandle
- The connection handle received by your callback function tfNgTeldOpened() or tfTeldOpened().
Returns
- userPtr
- Where userPtr is the pointer set in the user's last call to tfTeldUserStorePointer(). If tfTeldUserStorePointer() has not been called for this connection or if teldHandle is invalid, userPtr is NULL.