Member Avatar

Hi all, i'm writing a Qt SIGNAL/SLOT capable class in order to be able to work with raw socket in a Qt application. To achieve this, i'm using a QSocketNotifier to monitor socket incoming data event in a S/S way. Now the problem: entering the event loop, causes the process CPU utilization to raise to 100%, locking every event.and the QSocketNotifier signal activated(int socket) is never triggered. Removing the QSocketNotifier declaration, the loop works normally. Here i've made a reduced compilable code set to better show the unwanted behavior: (The program create a ICMP raw socket: to create ICMP traffic, …

Member Avatar
0
2
Member Avatar

Hi All, i'm here due to an unexplainable winsock problem. I've wrote a simple TcpSocket class to wrap in an object oriented way, the winsock functions. For testing purposes i've written two applications too, a client and a server, wich just send/receive 10 bytes in a giant loop. Now the problem: On my machine, with Windows Xp SP3, the two programs run normally until cicle 65535 (integer?): at that point, on server side, a WSAECONNABORTED (10053) happens, causing the socket closure, while, on the server a WSAECONNRESET (10054) is returned. :-/ Running on a Windows 7 machines the same couple …

Member Avatar
0
5
Member Avatar

Hi all, i've to make an introduction of what am i doing before start making questions. The goal of my work is to create an application quite like an IDE, for specific program development ( always in C++ ) and testing. Since the need of execute these programs under the main IDE process for monitoring and logging purposes, my solution is to compile them as shared library and load them dynamically from the IDE. (Any suggestion about other strategies is welcome!) The application is to be considered a 24h server, so can't be subject to problems like memory leaks or …

0
1

The End.