Microsoft SDK for Java

addConnectHost

This method of the NetIOPermission Class adds an allowed or denied hostname pattern to the connect permissions.

Syntax

public void addConnectHost(String hostspec, boolean fAllow);

Parameters

hostspec The host specification.
fAllow If the value is true, allow connections to the specified hosts. If the value is false, explicitly deny connections to the specified hosts.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.