![]() |
| | #1 |
| Registered User Join Date: Jan 2009
Posts: 71
| trouble with rt-app I need a suggestion about rt-application. if i did it and send data to my socke I've got "Non real time Singal:", why? actyally i did it in the handler func. Code: siginfo_t* si;
f(si->si_code == SI_QUEUE)
{
printf("User RTS Signal: %d\n", si->si_signo);
printf("User PID: %d\n", si->si_pid);
printf("User data: %d\n", si->si_value.sival_int);
}
else
{
printf("Non real time Singal: \n" );
}
Code: siginfo_t *info;
int cbNumber = info->si_value.sival_int;
printf("AIO operation %d completed returning \n",cbNumber);
I can't receiv data in this way Code: printf("the msg is: %s\n", (char *)req->aio_buf);
Code: printf("the msg is: %s\n", (char *)req[cbNumber].aio_buf);
|
| quantt is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| non-MFC DLL with MFC app question. | Kempelen | Windows Programming | 10 | 08-20-2008 07:11 AM |
| best program to start | gooddevil | Networking/Device Communication | 4 | 05-28-2004 05:56 PM |
| Need help migrating console app to windows app | DelphiGuy | C++ Programming | 1 | 03-14-2004 07:05 PM |
| pasword app | GanglyLamb | C Programming | 2 | 06-07-2003 10:28 AM |
| How do I make my Linux app standalone? | Joda | C++ Programming | 2 | 11-27-2002 04:53 AM |