• IXJCTL_PORT

    ioctl(ixj1, IXJCTL_PORT, iPort)

    Return Value

    Returns iPort if iPort != 0, otherwise it returns the port that is currently in use.

    Parameters

    The port code to use.

    Remarks

    Selects which physical port to use for analog audio. Only one port is active at a time. Not all ports are available on all cards.

    The following ports are defined:

    PORT_POTS, PORT_PSTN, PORT_SPEAKER, PORT_HANDSET

    See Also:

    IXJCTL_POTS_PSTN

    Example:

    ioctl(ixj1, IXJCTL_PORT, PORT_POTS);
    


    ©1996-2001 Quicknet Technologies, Inc.