CameraServerSetListenAddress Method |
Sets the local address and port on which the IP camera server will listen for connections.
Namespace: Ozeki.CameraAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public bool SetListenAddress(
string localAddress,
int port = 554
)
Public Function SetListenAddress (
localAddress As String,
Optional port As Integer = 554
) As Boolean
public:
bool SetListenAddress(
String^ localAddress,
int port = 554
)
member SetListenAddress :
localAddress : string *
?port : int
(* Defaults:
let _port = defaultArg port 554
*)
-> bool
Parameters
- localAddress
- Type: SystemString
- port (Optional)
- Type: SystemInt32
Return Value
Type:
BooleanTrue, if success; otherwise false
Exceptions Exception | Condition |
---|
VoIPException | Throws a VoIPException when the local address is invalid. |
See Also