| | |
| | | ShmModSocket shmModSocket; |
| | | int int_val; |
| | | int svr_val; |
| | | std::map<std::string, int> recvbuf; |
| | | // pthread_mutex_t sendMutex; |
| | | |
| | | // request header 编码为网络传输的字节 |
| | |
| | | int sendandrecv_timeout( const void *send_buf, const int send_size, const int send_key, void **recv_buf, int *recv_size, int sec, int nsec) ; |
| | | int sendandrecv_nowait( const void *send_buf, const int send_size, const int send_key, void **recv_buf, int *recv_size) ; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * recvandsend |
| | | */ |
| | |
| | | */ |
| | | static void free_recv_msg_arr(net_mod_recv_msg_t * arr, size_t size); |
| | | |
| | | |
| | | void buf_data_set(std::string str, int val); |
| | | int buf_data_get(std::string str); |
| | | }; |
| | | |
| | | #endif |