Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC8.0
How to create a process in windows service. in the OnStart() function that should connect
the system to the remote system using its IP and Port Number..
Posted 24-Jan-11 21:44pm
Comments
SAKryukov at 25-Jan-11 2:48am
   
OnStart actually happens after the service process is started. Do you want to create another one?! :-)
As to the connection to remote system, yes, it could be done from OnStart(), so what?
Indivara at 25-Jan-11 2:51am
   
I assumed he meant, "How do I create a process that connects to another system in OnStart() of a windows service".
 
My other job is reading tea leaves.
Gokulnath007 at 25-Jan-11 2:49am
   
After the service starts, it should connect the remote system whose IP and Port is known.
Gokulnath007 at 25-Jan-11 2:52am
   
SAKryukov.. Could you please explain how to connect the remote system.
with codes. or examples
Gokulnath007 at 25-Jan-11 3:06am
   
Indivara.. you are correct.. thats what am looking for...

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
SAKryukov at 25-Jan-11 13:53pm
   
Creating another process out of service? Hm... bad design idea, to say the least. Depending on what this process is supposed to do, can be different problems...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 25 Jan 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100