Services & Sockets in NT
-
I posted this in the C++ area, then found this place. I have a service that I'm writing. It is actually a part of a program being ported over. It needs to bind to a socket, which works fine in the app, but now as the service, CSocket::Create(port) fails. Does anyone have a clue? Thanks!
-
I posted this in the C++ area, then found this place. I have a service that I'm writing. It is actually a part of a program being ported over. It needs to bind to a socket, which works fine in the app, but now as the service, CSocket::Create(port) fails. Does anyone have a clue? Thanks!
I'm not sure if you can use CSocket within a service (this is just a comment, i really don't remember if it uses Windows Messages or something) Make sure you call AfxSocketInit() before any MFC socket operation. Andres Manggini. Buenos Aires - Argentina.
-
I'm not sure if you can use CSocket within a service (this is just a comment, i really don't remember if it uses Windows Messages or something) Make sure you call AfxSocketInit() before any MFC socket operation. Andres Manggini. Buenos Aires - Argentina.