Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Richedit can't type unicode Pin
shahnk21-Mar-04 17:40
shahnk21-Mar-04 17:40 
GeneralRe: Richedit can't type unicode Pin
Aragorn@Gondor21-Mar-04 20:40
Aragorn@Gondor21-Mar-04 20:40 
GeneralCDialogBar problem Pin
krugger20-Mar-04 11:33
krugger20-Mar-04 11:33 
Generalrealloc(...) like function in C++ Pin
_moved20-Mar-04 9:46
_moved20-Mar-04 9:46 
GeneralRe: realloc(...) like function in C++ Pin
Neville Franks20-Mar-04 10:58
Neville Franks20-Mar-04 10:58 
GeneralRe: realloc(...) like function in C++ Pin
_moved20-Mar-04 11:18
_moved20-Mar-04 11:18 
GeneralRe: realloc(...) like function in C++ Pin
Ravi Bhavnani20-Mar-04 11:18
professionalRavi Bhavnani20-Mar-04 11:18 
GeneralVery mysterious socket behaviour Pin
Daniel 'Tak' M.20-Mar-04 9:35
Daniel 'Tak' M.20-Mar-04 9:35 
Imagine the following scenario:

One of my applications communicates with another (3rd party, non open source) application via a simple TCP socket. The socket is only used to retrieve the status of the other app (or better, the other app sends its status over the socket). The packets are small, usually below 70 bytes, but they are sent pretty often (about 3-5 times per second). After my app receives a packet from the other app, it sends a small, 33 byte answer. After this answer, the other app sends a new status packet and so on. So much for the scenario...

Now there are two odd things going on.

The first oddity is a packet of 1024 bytes. This packet is mysteriously received by the other app, but I have no idea where this might come from (I'm using Port explorer, and it says that it should come from my app, but that's impossible). The packet arrives shortly after I've sent my "answer" to the other app. It contains my answer plus a lot of garbage. But that's not all...

After a while, the other app stops sending out its status to my app. But! It begins to receive even more of these 1024 byte packets - with the correct status at the beginning! Port explorer still says that all comes from my app, but that's totally impossible (I couldn't even guess the correct status).

So, where might these packets come from? What might make the other app stop sending out its status? Is there a way to get these 1024 byte packets?

GeneralRe: Very mysterious socket behaviour Pin
bilal7821-Mar-04 23:35
bilal7821-Mar-04 23:35 
GeneralRe: Very mysterious socket behaviour Pin
Daniel 'Tak' M.22-Mar-04 5:49
Daniel 'Tak' M.22-Mar-04 5:49 
GeneralAdding sub menus to a menu Pin
Daniel132420-Mar-04 8:49
Daniel132420-Mar-04 8:49 
GeneralRe: Adding sub menus to a menu Pin
Antti Keskinen20-Mar-04 23:45
Antti Keskinen20-Mar-04 23:45 
Generallarge and lower case Pin
Lucky200220-Mar-04 6:59
Lucky200220-Mar-04 6:59 
GeneralRe: large and lower case Pin
Ravi Bhavnani20-Mar-04 7:29
professionalRavi Bhavnani20-Mar-04 7:29 
GeneralWindows Master Volume control Pin
impeham20-Mar-04 6:48
impeham20-Mar-04 6:48 
GeneralRe: Windows Master Volume control Pin
Ravi Bhavnani20-Mar-04 7:30
professionalRavi Bhavnani20-Mar-04 7:30 
GeneralUpload Data via HTTP..VC++ Pin
rasha200320-Mar-04 5:05
rasha200320-Mar-04 5:05 
GeneralKnowing with Network Interface will be used Pin
mmica20-Mar-04 4:52
mmica20-Mar-04 4:52 
GeneralRe: Knowing with Network Interface will be used Pin
Roger Wright20-Mar-04 6:57
professionalRoger Wright20-Mar-04 6:57 
QuestionHow could I make folder as Public Share in windows98 system? Pin
.NetRams19-Mar-04 18:50
.NetRams19-Mar-04 18:50 
GeneralMFC Edit Controls. Pin
Ichiban_Addict19-Mar-04 17:11
Ichiban_Addict19-Mar-04 17:11 
GeneralRe: MFC Edit Controls. Pin
l a u r e n19-Mar-04 17:27
l a u r e n19-Mar-04 17:27 
GeneralRe: MFC Edit Controls. Pin
Ravi Bhavnani20-Mar-04 7:32
professionalRavi Bhavnani20-Mar-04 7:32 
GeneralRe: MFC Edit Controls. Pin
MeterMan21-Mar-04 15:54
MeterMan21-Mar-04 15:54 
GeneralRe: MFC Edit Controls. Pin
Ichiban_Addict21-Mar-04 16:08
Ichiban_Addict21-Mar-04 16:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.