LAST-SOCKET attribute A handle to the last entry in the list of all valid socket handles created in the current session. If there are no socket handles in this session, LAST-SOCKET returns the Unknown value (?). Data type: HANDLE Access: Read-only Applies to: SESSION system handle