(Page 4 of 7 in this chapter)


TxDIConfig

Description

Configures the behavior of the Ds0 Over IP API. This is an optional function.

Prototype

short TxDIConfig (unsigned char ifn,
unsigned char *ipaddr,
unsigned short port )

ifn Specifies the number of DS0 over IP interfaces to be created/managed by the API. These interfaces will be created as TPX SYNC over MVIP (default = 32).

ipaddr Pointer to a base IP address for DS0 over IP interfaces defined.

This is not the local or remote host's IP address but is used for internal routing tables.

All interfaces will have IP address of form:

ipaddr[0].[1].[2].[3] + n (n = 1..ifn)

DEFAULT: 128.0.0.0.

port UDP port number used for all UDP packet transmissions (default = 1796).

Return Values

Details

If TxDIConfig is not called, the defaults indicated will apply. TxDIConfig must be called prior to TxDIOpen to have the changes take effect.

See Also

TxDIOpen



(Page 4 of 7 in this chapter)


tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights reserved.