home *** CD-ROM | disk | FTP | other *** search
-
-
-
- tttt____ssssyyyynnnncccc((((3333NNNN)))) tttt____ssssyyyynnnncccc((((3333NNNN))))
-
-
-
- NNNNAAAAMMMMEEEE
- _tttt______ssss_yyyy_nnnn_cccc - synchronize transport library
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- _####_iiii_ffff_dddd_eeee_ffff ______XXXX_OOOO_PPPP_EEEE_NNNN______SSSS_OOOO_UUUU_RRRR_CCCC_EEEE
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_xxxx_tttt_iiii_...._hhhh_>>>>
- _####_eeee_llll_ssss_eeee
- _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_tttt_iiii_uuuu_ssss_eeee_rrrr_...._hhhh_>>>>
- _####_eeee_nnnn_dddd_iiii_ffff
-
- _iiii_nnnn_tttt _tttt______ssss_yyyy_nnnn_cccc _((((_iiii_nnnn_tttt _ffff_dddd_))))_;;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- For the transport endpoint specified by _ffff_dddd, _tttt______ssss_yyyy_nnnn_cccc synchronizes the data
- structures managed by the transport library with information from the
- underlying transport provider. In doing so, it can convert a raw file
- descriptor [obtained via _oooo_pppp_eeee_nnnn(2), _dddd_uuuu_pppp(2), or as a result of a _ffff_oooo_rrrr_kkkk(2) and
- _eeee_xxxx_eeee_cccc(2)] to an initialized transport endpoint, assuming that file
- descriptor referenced a transport provider. This function also allows
- two cooperating processes to synchronize their interaction with a
- transport provider.
-
- For example, if a process _ffff_oooo_rrrr_kkkk_ssss a new process and issues an _eeee_xxxx_eeee_cccc, the new
- process must issue a _tttt______ssss_yyyy_nnnn_cccc to build the private library data structure
- associated with a transport endpoint and to synchronize the data
- structure with the relevant provider information.
-
- It is important to remember that the transport provider treats all users
- of a transport endpoint as a single user. If multiple processes are
- using the same endpoint, they should coordinate their activities so as
- not to violate the state of the provider. _tttt______ssss_yyyy_nnnn_cccc returns the current
- state of the provider to the user, thereby enabling the user to verify
- the state before taking further action. This coordination is only valid
- among cooperating processes; it is possible that a process or an incoming
- event could change the provider's state _a_f_t_e_r a _tttt______ssss_yyyy_nnnn_cccc is issued.
-
- If the provider is undergoing a state transition when _tttt______ssss_yyyy_nnnn_cccc is called,
- the function will fail.
-
- This function resides within both the X/Open compliant _llll_iiii_bbbb_xxxx_nnnn_eeee_tttt and the
- SVR4 compliant _llll_iiii_bbbb_nnnn_ssss_llll Network Services libraries. Network Services
- applications which require X/Open compliance must link-load with _----_llll_xxxx_nnnn_eeee_tttt.
- Network Services applications which require SVR4 compliance must link-
- load with _----_llll_nnnn_ssss_llll.
-
- On failure, _tttt______eeee_rrrr_rrrr_nnnn_oooo may be set to one of the following:
-
- _TTTT_BBBB_AAAA_DDDD_FFFF The specified file descriptor does not refer to a
- transport endpoint.
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- tttt____ssssyyyynnnncccc((((3333NNNN)))) tttt____ssssyyyynnnncccc((((3333NNNN))))
-
-
-
- _TTTT_SSSS_TTTT_AAAA_TTTT_EEEE_CCCC_HHHH_NNNN_GGGG The transport provider is undergoing a state change.
-
- _TTTT_SSSS_YYYY_SSSS_EEEE_RRRR_RRRR A system error has occurred during execution of this
- function.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _dddd_uuuu_pppp(2), _eeee_xxxx_eeee_cccc(2), _ffff_oooo_rrrr_kkkk(2), _oooo_pppp_eeee_nnnn(2)
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _tttt______ssss_yyyy_nnnn_cccc returns the state of the transport provider on successful
- completion and -1 on failure and _tttt______eeee_rrrr_rrrr_nnnn_oooo is set to indicate the error.
- The state returned may be one of the following:
-
- _TTTT______UUUU_NNNN_BBBB_NNNN_DDDD unbound
-
- _TTTT______IIII_DDDD_LLLL_EEEE idle
-
- _TTTT______OOOO_UUUU_TTTT_CCCC_OOOO_NNNN outgoing connection pending
-
- _TTTT______IIII_NNNN_CCCC_OOOO_NNNN incoming connection pending
-
- _TTTT______DDDD_AAAA_TTTT_AAAA_XXXX_FFFF_EEEE_RRRR data transfer
-
- _TTTT______OOOO_UUUU_TTTT_RRRR_EEEE_LLLL outgoing orderly release (waiting for an orderly
- release indication)
-
- _TTTT______IIII_NNNN_RRRR_EEEE_LLLL incoming orderly release (waiting for an orderly
- release request)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-