General information
Title:
Problems with WinSock and EventHandler
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only