recv_record
static void *recv_record(void *);
(void) pthread_create(&recv_tid, NULL, recv_record, NULL);