MSIR.0667 Janus Sockets ($function) failed: (reason)

From m204wiki
Revision as of 14:54, 9 November 2010 by 198.242.244.47 (talk) (Created page with "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 ''''...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.