| OpenSS7 SS7 for the Common Man | © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. Last modified: Sat, 01 Nov 2008 10:42:33 GMT | ||||||||||||||||
| |||||||||||||||||
| Manpage of T_RCVCONNECTDescription: Manual PageKeywords: ss7 ss7/ip ss7 over ip ss7 mtp ss7 sccp ss7 tcap sigtran mtp sccp tcap openss7 acb56 linux telephony pstn linux telephony linux nebs linux compactpciT_RCVCONNECTSection: OpenSS7 XTI/TLI Networking Library Calls (3)Updated: 2008-10-31 Index Return to Main Contents NAMEt_rcvconnect - receive connection request confirmationSYNOPSIS#include <xti.h>
ARGUMENTS
DESCRIPTIONfd specifies the local transport endpoint upon which to receive the connection confirmation. call is a pointer to a t_call structure that returns information about the responding transport endpoint including the remote address, options and connection data. The t_call structure is formatted as follows:
struct t_call {
struct netbuf addr; /* address */
struct netbuf opt; /* options */
struct netbuf udata; /* user data */
int sequence; /* sequence number */
};
The t_call structure returns the following members and information:
CAVEATSt_rcvconnect() is only valid in state T_OUTCON. In synchronous mode, t_rcvconnect() will block until a connection confirmation or asynchronous event occurs on fd. In asynchronous mode, if a connection confirmation is not immediately available, t_rcvconnect() will fail, return -1 and set t_errno(3) to TNODATA. A call to t_rcvconnect() is not normally necessary in synchronous mode. In synchronous mode, t_connect(3) normally blocks until a connection confirmation is received. t_rcvconnect() is typically used in asynchronous mode, where t_connect(3) returns immediately after call and t_rcvconnect() is needed to receive the connection confirmation. RETURN VALUEUpon success, t_rcvconnect() returns zero (0). Upon failure, t_rcvconnect() returns -1 and sets t_errno(3) to an appropriate error number. ERRORSWhen t_rcvconnect() fails, it returns -1 and sets t_errno(3) to an appropriate error number as follows:
SEE ALSOerrno(3), fcntl(2), netbuf(3), t_connect(3), t_errno(3), t_look(3), t_open(3). BUGSt_rcvconnect() has no known bugs. t_rcvconnect() has been tested for the described behavior using the test-xnet(8) and test-xnet_thr(8) conformance test suites. COMPATIBILITYThe XTI/TLI library functions are compatible with SVR4.2[1], XNS 5.2[2], SUSv2[3]. Compatibility is tested using the test-xnet(8) and test-xnet_thr(8) test case executables and the OpenSS7 XTI/TLI Networking autotest test suite. CONFORMANCEXTI/TLI[4], TPI[5], XPG5, XNS 5.2[2], SUSv2[3]. Conformance is tested using the test-xnet(8) and test-xnet_thr(8) test case executables and the OpenSS7 XTI/TLI Networking autotest test suite. HISTORYt_rcvconnect first appeared in SVR4.2[1]. VERSIONSThis manpage was written for the OpenSS7 XTI/TLI Library. REFERENCES
TRADEMARKS
Other trademarks are the property of their respective owners. IDENTIFICATION
Copyright©1997-2008OpenSS7 Corp.
All Rights Reserved.
Index
This document was created by man2html, using the manual pages. Time: 13:28:13 GMT, May 21, 2013 | ||||||||||||||||
| OpenSS7 SS7 for the Common Man |
| ||||||||||||||||
| Last modified: Sat, 01 Nov 2008 10:42:33 GMT © Copyright 1997-2007 OpenSS7 Corporation All Rights Reserved. |