| checkConnect |
(String host, int port) |
yoix.system |
| |
Asks the interpreter to carry out the security checking needed to find out
if the calling thread can open a socket that connects to
port
on
host.
and returns non-zero if the operation is allowed and zero if it is not.
This
Builtin
is closely connected to the
SecurityManager
function that has the same name, however it does not participate in security
checks, but instead it provides an easy way for applications to run security
checks without actually carrying out an operation that might raise exceptions
that need to be caught.
| |
| Return: |
int
| | |
| See Also: |
checkAccept,
checkCreateRobot,
checkDelete,
checkExec,
checkExit,
checkListen,
checkMulticast,
checkPropertiesAccess,
checkRead,
checkReadDisplayPixels,
checkReadEnvironment,
checkReadProperty,
checkSystemClipboardAccess,
checkWrite,
checkWriteProperty,
SecurityManager
|
|
Yoix is a registered trademark of AT&T Inc.
|