CUBRID Engine  latest
jsp_comm.c File Reference
#include "config.h"
#include <assert.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h>
#include <errno.h>
#include <unistd.h>
#include <netdb.h>
#include "jsp_comm.h"
#include "porting.h"
#include "error_manager.h"
Include dependency graph for jsp_comm.c:

Go to the source code of this file.

Functions

SOCKET jsp_connect_server (int server_port)
 
void jsp_disconnect_server (const SOCKET sockfd)
 
int jsp_writen (SOCKET fd, const void *vptr, int n)
 
int jsp_readn (SOCKET fd, void *vptr, int n)
 

Function Documentation

void jsp_disconnect_server ( const SOCKET  sockfd)

Definition at line 135 of file jsp_comm.c.

Referenced by javasp_ping_server(), javasp_status_server(), javasp_stop_server(), jsp_close_connection(), jsp_execute_stored_procedure(), and jsp_send_destroy_request_all().

Here is the caller graph for this function:

int jsp_readn ( SOCKET  fd,
void *  vptr,
int  n 
)

Definition at line 212 of file jsp_comm.c.

References ARG_FILE_LINE, ER_CSS_WINSOCK_STARTUP, ER_ERROR_SEVERITY, er_set(), err, and NULL.

Referenced by javasp_ping_server(), javasp_status_server(), jsp_alloc_response(), jsp_receive_response(), and jsp_send_destroy_request().

Here is the caller graph for this function:

int jsp_writen ( SOCKET  fd,
const void *  vptr,
int  n 
)

Definition at line 160 of file jsp_comm.c.

Referenced by javasp_ping_server(), javasp_status_server(), javasp_stop_server(), jsp_send_call_request(), and jsp_send_destroy_request().

Here is the caller graph for this function: