Searched refs:cmdres_sock (Results 1 – 1 of 1) sorted by relevance
519 int cmdres_sock; in main() local623 cmdres_sock = socket(AF_UNIX, SOCK_STREAM, 0); in main()624 if (cmdres_sock < 0) { in main()632 ret = bind(cmdres_sock, (struct sockaddr*)&cmdres_sockaddr, sizeof(struct sockaddr_un)); in main()639 ret = listen(cmdres_sock, 1); in main()646 int conn_sock = accept(cmdres_sock, NULL, NULL); in main()