$Sock ErrInfo: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
mNo edit summary |
||
Line 4: | Line 4: | ||
methods. There is currently no direct OO equivalent for this $function.</p> | methods. There is currently no direct OO equivalent for this $function.</p> | ||
$Sock_ErrInfo retrieves information about the last <var class="product">Janus Sockets</var> error. | <var>$Sock_ErrInfo</var> retrieves information about the last <var class="product">Janus Sockets</var> error. | ||
==Syntax== | ==Syntax== |
Revision as of 03:19, 20 January 2012
Get info about last Janus Sockets error
Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is currently no direct OO equivalent for this $function.
$Sock_ErrInfo retrieves information about the last Janus Sockets error.
Syntax
%info = $Sock_ErrInfo(infoType)
Syntax terms
%info | A string that contains the requested information. | ||||||||
---|---|---|---|---|---|---|---|---|---|
infoType | One of the following strings:
|
Usage notes
- If the return string is null, there was no Janus Sockets error since the thread logged in (note, as described in "Handling connection errors and RESET sockets", that $Sock_Conn does not set the last error information, and a few other $Sock_xxx functions do not set it, either).
- $Sock_ErrInfo does not have a socket number argument, and thus it is not affected by any
ONRESET
setting.