Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with WinSock and EventHandler
Message
From
10/02/2003 08:36:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Problems with WinSock and EventHandler
Miscellaneous
Thread ID:
00751347
Message ID:
00751347
Views:
52
Hi,

I am createing an serverapplication that will respond to messages from a client. This application is running as a com-object. I have been searching around for simular problems and only found problems with forms. There are an good example how to do this in the download section, but this is using BindEvents and UnBindEven - even though the docs says EventHandler is used.

I do not want to use a form to solve this problem, so I am using EventHandler (the new method in VFP7). The syntax for this metods is EventHandler(myComObject, myEventObject). myComObject is an object of the class MSWinSock.WinSock.1 and myEventObject is an own created object, in which I put the funcions I need for handling the incomming data correctly.

However, I cannot find the interface to implement with the event-object. Is there anyone who can help me with this problem? My event-object need to have an override on the methods DataArrival and ConnectionRequest.

Would be really happy for any help
--Tony Neldemo
Next
Reply
Map
View

Click here to load this message in the networking platform