Oracle® Solaris 11.2 Programming Interfaces Guide

Exit Print View

Updated: July 2014
 
 

Outgoing Events

The outgoing events described in the following table correspond to the status returned from the specified transport routines, where these routines send a request or response to the transport provider. In the table, some events, such as “accept,” are distinguished by the context in which they occur. The context is based on the values of the following variables:

  • ocnt – Count of outstanding connect requests

  • fd – File descriptor of the current transport endpoint

  • resfd – File descriptor of the transport endpoint where a connection is accepted

Table 8-2  Outgoing Events
Event
Description
Service Type
opened
Successful return of t_open(3NSL)
T_COTS, T_COTS_ORD, T_CLTS
bind
Successful return of t_bind(3NSL)
T_COTS, T_COTS_ORD, T_CLTS
optmgmt
Successful return of t_optmgmt(3NSL)
T_COTS, T_COTS_ORD, T_CLTS
unbind
Successful return of t_unbind(3NSL)
T_COTS, T_COTS_ORD, T_CLTS
closed
Successful return of t_close(3NSL)
T_COTS, T_COTS_ORD, T_CLT
connect1
Successful return of t_connect(3NSL) in synchronous mode
T_COTS, T_COTS_ORD
connect2
TNODATA error on t_connect(3NSL) in asynchronous mode, or TLOOK error due to a disconnect request arriving on the transport endpoint
T_COTS, T_COTS_ORD
accept1
Successful return of t_accept(3NSL) with ocnt == 1, fd == resfd
T_COTS, T_COTS_ORD
accept2
Successful return of t_accept(3NSL) with ocnt== 1, fd!= resfd
T_COTS, T_COTS_ORD
accept3
Successful return of t_accept(3NSL) with ocnt > 1
T_COTS, T_COTS_ORD
snd
Successful return of t_snd(3NSL)
T_COTS, T_COTS_ORD
snddis1
Successful return of t_snddis(3NSL) with ocnt <= 1
T_COTS, T_COTS_ORD
snddis2
Successful return of t_snddis(3NSL) with ocnt > 1
T_COTS, T_COTS_ORD
sndrel
Successful return of t_sndrel(3NSL)
T_COTS_ORD
sndudata
Successful return of t_sndudata(3NSL)
T_CLTS