ErrInfo (Socket function): Difference between revisions
Jump to navigation
Jump to search
m (→Syntax terms) |
(Automatically generated page update) |
||
Line 14: | Line 14: | ||
<td>A string variable to contain the returned error information. If no <var class="product">Janus Sockets</var> error has occurred since the thread logged in, a null string is returned. | <td>A string variable to contain the returned error information. If no <var class="product">Janus Sockets</var> error has occurred since the thread logged in, a null string is returned. | ||
</td></tr> | </td></tr> | ||
<tr><th><var>%(Socket)</var></th> | <tr><th><var class="nobr">%(Socket)</var></th> | ||
<td>The class name in parentheses denotes a shared method. <var>ErrInfo</var> can also be invoked via a <var>Socket</var> object variable, which may be <var>Null</var>.</td></tr> | <td>The class name in parentheses denotes a shared method. <var>ErrInfo</var> can also be invoked via a <var>Socket</var> object variable, which may be <var>Null</var>.</td></tr> | ||
<tr><th>string</th> | <tr><th>string</th> |
Revision as of 00:55, 16 February 2014
Retrieve info about the most recent socket error (Socket class)
This shared method retrieves information about the last Janus Sockets error.
The ErrInfo function is similar in effect to
$Sock_Errinfo.
Syntax
%string = %(Socket):ErrInfo( string)
Syntax terms
%string | A string variable to contain the returned error information. If no Janus Sockets error has occurred since the thread logged in, a null string is returned. | ||||||
---|---|---|---|---|---|---|---|
%(Socket) | The class name in parentheses denotes a shared method. ErrInfo can also be invoked via a Socket object variable, which may be Null. | ||||||
string | One of the following strings:
|
Usage notes
- ErrInfo is not affected by any
ONRESET
setting.