(Page 2 of 7 in this chapter)
TxDI2Connect
Description
- Makes a connection between a particular voice stream and a remote IP address.
Prototype
- DICONN_HANDLE TxDIConnect (TXDI_HANDLE handle,
short logicalPort,
unsigned char destIPAddr,
long txSessionId,
long rxSessionId,
unsigned char pktType,
short *errCode)
- handle Handle returned in previous open request.
- logicalPort Virtual port number (1..32). This is the virtual port number that is associated with a particular digital data stream.
- destIPAddr IP Address of remote computer (a.b.c.d). This can be either another TX board or a user PC on the IP network.
- txSessionId Application assigned transmit session id.
- rxSessionId Application assigned receive session id.
- pktType User specified Packet type to use in type field of session header.
- errCode Pointer to an address of a short value for error code return.
Return Values
- dihandle Handle to be used in the TxDIDisConnect. Returns -1 if unsuccessful.
- errCode TXAPI_SUCCESS or else a TXAPI error code or CPK error code.
Details
- TxDI2Connect performs the same function as TxDIConnect except with regard to session parameters. An TxDI2Connect request allows the user to specify both a Transmit Session ID and Receive Session ID. The txSessionId specifies the session ID to be used by the TX board when transmitting packets to a remote system, and the rxSessionId specifies the session ID expected from the remote system.
See Also
- TxDIConnect
(Page 2 of 7 in this chapter)
tech_support@nmss.com
Copyright © 1998, Natural MicroSystems, Inc. All rights
reserved.