Hi All,

In a VC6 dialog based application, i want to add a local host listening socket control. The purpose is that whenever the listening socket will receive a data say "XYZ" from localhost, then it will run a function that is presently written in the button-click event handler of a Button on the dialog box.

Can anyone provide some sample code for this socket control?

Any help would be highly appreciated.

-naim1