ErrInfo (Socket function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Syntax terms) |
||
Line 11: | Line 11: | ||
===Syntax terms=== | ===Syntax terms=== | ||
<table class="syntaxTable"> | <table class="syntaxTable"> | ||
<tr><th>% | <tr><th>%string</th> | ||
<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> |
Revision as of 01:39, 15 November 2011
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. Specifying %(Socket): is not the only way to invoke the method (see ?? refid=themeth.).
| ||||||
infotype | One of the following strings:
|
ErrInfo is not affected by any ONRESET
setting.