#include "f_stccomm.h"
Go to the source code of this file.
Functions | |
INTS4 | f_stc_read (void *p_buffer, INTS4 i_buflen, INTS4 i_channel, INTS4 i_timeout) |
INTS4 | f_stc_write (void *p_buffer, INTS4 i_buflen, INTS4 i_channel) |
INTS4 | f_stc_connectserver (CHARS *c_node, INTS4 l_port, INTS4 *pi_channel, struct s_tcpcomm *ps_client) |
INTS4 | f_stc_acceptclient (struct s_tcpcomm *ps_server, INTS4 *pi_channel) |
INTS4 | f_stc_createserver (INTS4 *pl_port, struct s_tcpcomm *ps_server) |
INTS4 | f_stc_close (struct s_tcpcomm *ps_tcp) |
INTS4 | f_stc_discclient (INTS4 i_channel) |
INTS4 | f_stc_listenserver (struct s_tcpcomm *ps_server) |
INTS4 | f_stc_disperror (INTS4 i_error, CHARS *c_dest, INTS4 i_out) |
Variables | |
CHARS | c_msg [80] |
Definition at line 663 of file f_stccomm.c.
References ENOTSOCK, s_tcpcomm::namelength, s_tcpcomm::sock_name, and s_tcpcomm::sock_rw.
Referenced by f_his_wait().
Definition at line 1068 of file f_stccomm.c.
References s_tcpcomm::socket.
Referenced by f_evcli_buf(), f_evcli_close(), f_evcli_con(), f_evt_get_close(), f_his_close(), f_his_getbas(), f_his_getdir(), f_his_gethis(), and fLmdCloseMbs().
INTS4 f_stc_connectserver | ( | CHARS * | c_node, | |
INTS4 | l_port, | |||
INTS4 * | pi_channel, | |||
struct s_tcpcomm * | ps_client | |||
) |
Definition at line 470 of file f_stccomm.c.
References EADDRINUSE, EAFNOSUPPORT, ECONNREFUSED, EISCONN, ENETUNREACH, ENOBUFS, ENOTSOCK, EPROTONOSUPPORT, ESOCKTNOSUPPORT, ETIMEDOUT, s_tcpcomm::hostentptr, s_tcpcomm::hostentstruct, and s_tcpcomm::socket.
Referenced by f_evcli_con(), f_evt_get_open(), f_his_getbas(), f_his_getdir(), f_his_gethis(), f_mbs_ml_setup(), f_mbs_mo_setup(), f_mbs_setup(), f_mbs_status(), and fLmdConnectMbs().
Definition at line 824 of file f_stccomm.c.
References EADDRINUSE, EAFNOSUPPORT, ENOBUFS, ENOTSOCK, EPROTONOSUPPORT, ESOCKTNOSUPPORT, s_tcpcomm::hostentptr, s_tcpcomm::hostname, s_tcpcomm::namelength, s_tcpcomm::sock_name, s_tcpcomm::sock_rw, and s_tcpcomm::socket.
Referenced by f_his_server().
Definition at line 1149 of file f_stccomm.c.
Referenced by f_evcli_close(), f_evt_get_close(), f_his_getbas(), f_his_getdir(), f_his_gethis(), f_his_senddir(), f_his_sendhis(), f_his_wait(), f_mbs_ml_setup(), f_mbs_mo_setup(), f_mbs_setup(), and f_mbs_status().
Definition at line 1376 of file f_stccomm.c.
References STC__CONNTOUT, STC__ECONNREF, STC__FAILURE, STC__INVADDR, STC__INVADDRF, STC__INVBUF, STC__INVPROTO, STC__INVSOCK, STC__INVTIME, STC__NETUNREA, STC__NGBUFSIZE, STC__NOTSOCK, STC__PORTINUS, STC__SOCKISC, STC__SOCKISP, STC__SOCKNSUP, STC__SOCKSPAF, STC__SOCKTABF, STC__SUCCESS, STC__TIMEOUT, TPS__ECPORTS, TPS__EGSERVICE, TPS__EREGSERV, TPS__ERMFRPORTS, and TPS__EWTOPORTS.
Referenced by f_evcli_con(), f_read_server(), and f_send_ackn().
Definition at line 1230 of file f_stccomm.c.
References s_tcpcomm::sock_rw.
Definition at line 129 of file f_stccomm.c.
References c_msg, and ECONNRESET.
Referenced by f_evt_get_buffer(), f_evt_get_newbuf(), f_evt_get_open(), f_his_getbas(), f_his_getdir(), f_his_gethis(), f_his_wait(), f_read_server(), f_ut_set_ml_r(), f_ut_set_mo_r(), f_ut_setup_r(), f_ut_status_r(), fLmdConnectMbs(), and fLmdGetMbsBuffer().
Definition at line 315 of file f_stccomm.c.
References c_msg, ENOTSOCK, and l_retval.
Referenced by f_evcli_con(), f_evt_get_buffer(), f_evt_get_close(), f_evt_get_newbuf(), f_his_getbas(), f_his_getdir(), f_his_gethis(), f_his_senddir(), f_his_sendhis(), f_his_wait(), f_send_ackn(), f_ut_set_ml(), f_ut_set_ml_r(), f_ut_set_mo(), f_ut_set_mo_r(), f_ut_setup(), f_ut_setup_r(), f_ut_status(), f_ut_status_r(), fLmdCloseMbs(), and fLmdGetMbsBuffer().
Definition at line 16 of file f_stccomm.c.
Referenced by f_stc_read(), and f_stc_write().