Go to the source code of this file.
int CcsConnect | ( | CcsServer * | svr, | |
const char * | host, | |||
int | port, | |||
const CcsSec_secretKey * | key | |||
) |
Converse Client-Server Module: Client Side.
Definition at line 128 of file ccs-client.C.
References CcsConnectWithTimeout().
Referenced by main().
int CcsConnectWithTimeout | ( | CcsServer * | svr, | |
const char * | host, | |||
int | port, | |||
const CcsSec_secretKey * | key, | |||
int | timeout | |||
) |
Definition at line 132 of file ccs-client.C.
References CcsConnectIpWithTimeout(), skt_init(), and skt_lookup_ip().
Referenced by CcsConnect().
int CcsConnectIp | ( | CcsServer * | svr, | |
skt_ip_t | ip, | |||
int | port, | |||
const CcsSec_secretKey * | key | |||
) |
Definition at line 139 of file ccs-client.C.
References CcsConnectIpWithTimeout().
int CcsConnectIpWithTimeout | ( | CcsServer * | svr, | |
skt_ip_t | ip, | |||
int | port, | |||
const CcsSec_secretKey * | key, | |||
int | timeout | |||
) |
Definition at line 143 of file ccs-client.C.
References CCS_RAND_new(), CcsImpl_authInit(), CcsRecvResponseMsg(), CcsSendRequestWithTimeout(), CcsServer::clientID, CcsServer::clientSalt, fd, free(), CcsServer::hostIP, CcsServer::hostPort, CcsServer::isAuth, CcsServer::key, CcsServer::level, parseInfo(), printSvr(), CcsServer::rand, CcsServer::replyFd, skt_close(), skt_connect(), and skt_init().
Referenced by CcsConnectIp(), and CcsConnectWithTimeout().
Definition at line 272 of file ccs-client.C.
References CcsSendRequestGeneric().
Referenced by main().
int CcsSendRequestWithTimeout | ( | CcsServer * | svr, | |
const char * | hdlrID, | |||
int | pe, | |||
int | size, | |||
const void * | msg, | |||
int | timeout | |||
) |
Definition at line 276 of file ccs-client.C.
References CcsSendRequestGeneric().
Referenced by CcsConnectIpWithTimeout().
Definition at line 280 of file ccs-client.C.
References CcsSendRequestGeneric().
int CcsSendBroadcastRequestWithTimeout | ( | CcsServer * | svr, | |
const char * | hdlrID, | |||
int | size, | |||
const void * | msg, | |||
int | timeout | |||
) |
Definition at line 285 of file ccs-client.C.
References CcsSendRequestGeneric().
int CcsSendMulticastRequest | ( | CcsServer * | svr, | |
const char * | hdlrID, | |||
int | npes, | |||
int * | pes, | |||
int | size, | |||
const void * | msg | |||
) |
Definition at line 290 of file ccs-client.C.
References CcsSendRequestGeneric().
int CcsSendMulticastRequestWithTimeout | ( | CcsServer * | svr, | |
const char * | hdlrID, | |||
int | npes, | |||
int * | pes, | |||
int | size, | |||
const void * | msg, | |||
int | timeout | |||
) |
Definition at line 300 of file ccs-client.C.
References CcsSendRequestGeneric().
Definition at line 323 of file ccs-client.C.
References CcsServer::replyFd, and skt_close().
Definition at line 351 of file ccs-client.C.
References CcsImpl_recvReplyAuth(), ChMessageInt(), CmiWallTimer(), fd, len, CcsServer::replyFd, skt_close(), skt_recvN(), and skt_select1().
Definition at line 332 of file ccs-client.C.
References CcsImpl_recvReplyAuth(), ChMessageInt(), fd, len, malloc(), CcsServer::replyFd, skt_close(), skt_recvN(), and skt_select1().
Referenced by CcsConnectIpWithTimeout(), and main().
Definition at line 199 of file ccs-client.C.
References CcsServer::numPes.
Referenced by main().
Definition at line 370 of file ccs-client.C.
References CcsServer::replyFd, and skt_select1().
Definition at line 374 of file ccs-client.C.
References CcsServer::replyFd, and skt_select1().
void CcsFinalize | ( | CcsServer * | svr | ) |
Definition at line 379 of file ccs-client.C.
References CcsServer::replyFd, and skt_close().