我想做一个在Win2000上运行的程序,用来控制Solaris Server上的服务程序的启动和关闭。该如何实现?
用sock的模式,但是不是最好的
If you only want to start and terminate your back service,youd better use
the ICMP package.
Use your customized package length(for example 200 bytes).At the romote
service,create a raw socket and set it to "immingle mode".
The advantage of this solution is that you neednt opne a extra port on the
remote computer!
用普通的远程控制的CS模式不就行了?
rpc
socket can do it.