MSIR.0667 Janus Sockets ($function) failed: (reason): Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
Line 3: | Line 3: | ||
For example, the message "Already have SOCKPMAX sockets open on port" is accompanied by return code -109 from $SOCK_CONN; your application might issue $SOCK_CLOSE for another socket which is in use on the same port, or you might avoid that failure in the future by using a different SOCKPMAX parameter on the JANUS DEFINE command for that port. | For example, the message "Already have SOCKPMAX sockets open on port" is accompanied by return code -109 from $SOCK_CONN; your application might issue $SOCK_CLOSE for another socket which is in use on the same port, or you might avoid that failure in the future by using a different SOCKPMAX parameter on the JANUS DEFINE command for that port. | ||
[[Category:Sirius Mods | [[Category:Sirius Mods messages]] |
Revision as of 17:58, 19 April 2013
This message indicates that a User Language application issued a call to the Janus Sockets $function shown by '$function', and it failed. The documentation for '$function' shows the return codes that can occur when it fails to complete successfully. Your application should test the return code, and if it indicates failure, should take the appropriate action.
For example, the message "Already have SOCKPMAX sockets open on port" is accompanied by return code -109 from $SOCK_CONN; your application might issue $SOCK_CLOSE for another socket which is in use on the same port, or you might avoid that failure in the future by using a different SOCKPMAX parameter on the JANUS DEFINE command for that port.