Re: Csocket onReceive() get data on XPmachine but not Win2k machine
From: Scott McPhillips [MVP] (scottmcp_at_mvps.org.nothere)
Date: 03/20/04
- Next message: Muskaan: "Re: UDT defined in .odl file of ActiveX control is not visible to the code inside the control"
- Previous message: Scott McPhillips [MVP]: "Re: Joseph Newcomer's CHListBox"
- In reply to: glweid: "Csocket onReceive() get data on XPmachine but not Win2k machine"
- Next in thread: Joseph M. Newcomer: "Re: Csocket onReceive() get data on XPmachine but not Win2k machine"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 19 Mar 2004 20:27:03 -0500
glweid wrote:
> I have a client server app that I'm testing on the same machine.
>
> I'm experiencing a problem on my Win 2K Pro machine.
>
> The client connects to the server (via CSocket) OK and I hit the OnAccept() method but the OnReceive() method is never hit when the client sends data.
>
> I tried the same app on my co-workers machine (same Win2K OS and SP4 version) and it works OK ! Also works on my XP machine.
>
> Am I missing a possible patch or service ??
>
> Microsofts basic mfcsock test program has the same problem.
>
> Any help is appreciated, THANKS !
>
>
There are some old known problems in CSocket. If you are using VC6 make
sure you have installed the SP5 update. Also call AfxSocketInit in
every thread that uses MFC sockets.
-- Scott McPhillips [VC++ MVP]
- Next message: Muskaan: "Re: UDT defined in .odl file of ActiveX control is not visible to the code inside the control"
- Previous message: Scott McPhillips [MVP]: "Re: Joseph Newcomer's CHListBox"
- In reply to: glweid: "Csocket onReceive() get data on XPmachine but not Win2k machine"
- Next in thread: Joseph M. Newcomer: "Re: Csocket onReceive() get data on XPmachine but not Win2k machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|