I am trying to make timertimeout at client side ,when we delayed msgreply from server to client
printing proper without timertimeout even we delayed
client code:
if (TimerTimeout(CLOCK_REALTIME, _NTO_TIMEOUT_SEND | _NTO_TIMEOUT_REPLY, &event,
&timeout, NULL) == -1) {
perror("❌ TimerTimeout failed");
name_close(coid);
return EXIT_FAILURE;
}
printf("✅ TimerTimeout successfully set.\n");
printf("
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745165832a4614623.html
评论列表(0条)