scm->server_endpt.is_ip4 = (scm->server_addr.sin_family == AF_INET);
scm->server_endpt.ip = (uint8_t *) & scm->server_addr.sin_addr;
scm->server_endpt.port = (uint16_t) scm->server_addr.sin_port;
scm->server_endpt.is_ip4 = (scm->server_addr.sin_family == AF_INET);
scm->server_endpt.ip = (uint8_t *) & scm->server_addr.sin_addr;
scm->server_endpt.port = (uint16_t) scm->server_addr.sin_port;