| | |
| | | #include "shm_socket.h" |
| | | #include "usg_common.h" |
| | | #include "shm_mm.h" |
| | | #include "shm_mm_wraper.h" |
| | | |
| | | #include "shm_socket.h" |
| | | #include "usg_common.h" |
| | | #include "shm_mm.h" |
| | | #include "shm_mm_wraper.h" |
| | | typedef struct Targ { |
| | | int port; |
| | | int id; |
| | |
| | | } |
| | | |
| | | int main(int argc, char *argv[]) { |
| | | shm_init(512); |
| | | shm_mm_wrapper_init(512); |
| | | int port; |
| | | if (argc < 3) { |
| | | fprintf(stderr, "Usage: reqrep %s|%s <PORT> ...\n", "server", "client"); |
| | |
| | | |
| | | |
| | | |
| | | shm_destroy(); |
| | | shm_mm_wrapper_destroy(); |
| | | // fprintf(stderr, "Usage: reqrep %s|%s <URL> ...\n", "server", "client"); |
| | | return 0; |
| | | } |