The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ipc: Add error message on bind failure.

+8
+8
src/xrt/ipc/ipc_server_process.c
··· 224 224 225 225 ret = bind(fd, (struct sockaddr *)&addr, sizeof(addr)); 226 226 if (ret < 0) { 227 + fprintf(stderr, 228 + "ERROR: Could not bind socket: is the " 229 + "service running already?\n"); 230 + #ifdef XRT_HAVE_SYSTEMD 231 + fprintf(stderr, 232 + "Or, is the systemd unit monado.socket or " 233 + "monado-dev.socket active?\n"); 234 + #endif 227 235 close(fd); 228 236 return ret; 229 237 }