Export (0) Print
Expand All
Expand Minimize

AudioConnectionPort Property

Published: June 20, 2005

AudioConnectionPort Property

Gets and sets the IP port that Speech Engine Services (SES) monitors for audio connection requests from a client.

obj.AudioConnectionPort = integer

Part

Description

obj

An instance of the SES class.

integer

An unsigned integer that specifies the IP address that SES monitors for audio connection requests from a client. This value must be a valid port number.

Qualifiers

Qualifier

Value

Description

Registry

True

If True, this property value is read from the Registry.

Restart

True

After changes to this property value, the service must restart before the changes are implemented.

DefaultValue

7845

Default value for this property.

MaxValue

65535

Maximum value for this property; (port values higher than this are not valid).

Remarks

This property is exposed in the Microsoft Speech Server Management Console snap-in.

If not specified, SES uses the default value.

The active and idle worker processes must listen on different ports. Therefore, when the failover worker process is enabled (default), SES also uses the port number that follows the integer value. If you are running a firewall, you must open both ports (by default, ports 7845 and 7846) for SES to function reliably.

Windows Management Instrumentation (WMI) Script Example

myComputer = "localhost"

' Use a Locator object to connect to WMI.
Set locator = CreateObject("WbemScripting.SWbemLocator")
Set namespace = locator.ConnectServer(myComputer, "root/MSS")

' Get the SES instance.
Set ss = namespace.Get("SES=@")

' Display the current property value.
WScript.Echo ss.AudioConnectionPort

' Set the property value.
ss.AudioConnectionPort = 7845

' Update the class instance in WMI.
ss.Put_

Member Of

SES class

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft