Tcp Listener

  • Thread starter Thread starter DaveL
  • Start date Start date
D

DaveL

Hello i have a Service that does ftp downloading from customers, when this
download or any download is complete and successful, i want to Tcp to
another
running Service with a Specific job id , and this other Service will Kick
off the job that pertains to that job id

Any advice...or any links than you know if
that i can go read how to speak from one service to another service

Thanks
DaveL
 
DaveL said:
Hello i have a Service that does ftp downloading from customers, when this
download or any download is complete and successful, i want to Tcp to
another
running Service with a Specific job id , and this other Service will Kick
off the job that pertains to that job id

Any advice...or any links than you know if
that i can go read how to speak from one service to another service

If the other service listens on a TCP port (by using TcpListener or
other) then your service can connect with TcpClient.

Arne
 
i haven't wrote the other service yet...but i can tell you
that it has a Set of Predefined jobs it can do based on a sql table
(datatable) ie jobids
the ftp service will contact the job service. (listener) send a Jobid ,
thenn listener will queue the jobid and go back to listening
the dqueu method wiill look up the job id in the (datatable) and will have
function name or dll to load and run (then unload)

Hope that helps
DaveL
 
thanks for all the advice
dave P

Arne Vajhøj said:
If the other service listens on a TCP port (by using TcpListener or
other) then your service can connect with TcpClient.

Arne
 
Back
Top