| 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_RCVDISDescription: 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_RCVDISSection: OpenSS7 XTI/TLI Networking Library Calls (3)Updated: 2008-10-31 Index Return to Main Contents NAMEt_rcvdis - receive abortive disconnectSYNOPSIS#include <xti.h>
ARGUMENTS
DESCRIPTIONt_rcvdis() receives a disconnect indication arriving on the specified local transport endpoint fd. fd specifies the local transport endpoint upon which a disconnect indication is to be received. dis a pointer to a t_discon structure that returns any user disconnect data and the reason and possible sequence number associated with the disconnect on fd. The t_discon strucuture is formatted as follows:
struct t_discon {
struct netbuf udata; /* user data */
int reason; /* reason code */
int sequence; /* sequence number */
};
The
t_discon
structure returns the following members and contains the following
information:
Typically, t_rcvdis() is called after a receive data call fails with TLOOK and a call to t_look(3) returns T_DISCONNECT. CAVEATSt_rcvdis() is only valid in states T_DATAXFER, T_OUTCON, T_OUTREL, T_INREL, T_INCON with outstanding connection indications. In synchronous mode, t_rcvdis() blocks until a disconnect indication is received. In asynchronous mode and a disconnect indication is not outstanding, t_rcvdis() returns -1 and sets t_errno(3) to TNODIS. RETURN VALUEUpon success, t_rcvdis() returns zero (0). Upon failure, t_rcvdis() returns -1 and sets t_errno(3) to an appropriate error number. ERRORSWhen t_rcvdis() fails, it returns -1 and sets t_errno(3) to an appropriate error number as follows:
SEE ALSOerrno(3), fcntl(2), netbuf(3), t_errno(3), t_look(3), t_open(3). BUGSt_rcvdis() has no known bugs. t_rcvdis() 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_rcvdis 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: 20:20:07 GMT, May 18, 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. |