Re: localhost socket control
Are you sure you don't mean VB6? Things are not control based in C.
What you need is to take a look at CSocket and CListen if you are using MFC, and socket(), connect(), and listen() if you are not. There is sample code with those functions that explain how to listen for incoming socket data.
-Erik
Re: localhost socket control
Quote:
Originally Posted by
egawtry
Are you sure you don't mean VB6? Things are not control based in C.
What you need is to take a look at CSocket and CListen if you are using MFC, and socket(), connect(), and listen() if you are not. There is sample code with those functions that explain how to listen for incoming socket data.
-Erik
Yes, its VC6 for sure, although i dont know quite well how its goes in VC6. The only thing is that n event has to be generated when a specific data string say "XYZ" is received.
Re: localhost socket control
Quote:
Originally Posted by
naim1
Yes, its VC6 for sure, although i dont know quite well how its goes in VC6.
So you're trying to write a C++ application using sockets, and you don't know C++?
Regards,
Paul McKenzie