Home All Groups Group Topic Archive Search About

Windows Service that is listening

Author
16 Aug 2006 9:36 AM
Leszek
Hello!
I'm trying to create some kind of agent. It will be a Windows Service, that
will listen on specific port and doing specific job sended to him.
Can someone give me links to informations how do this? What I must find in
internet, that will help me in building it?
I do this in .NET 2.0. Windows Service, that have some metods is ready.

Author
16 Aug 2006 10:03 AM
Vadym Stetsyak
Hello, Leszek!

L> Hello!
L> I'm trying to create some kind of agent. It will be a Windows Service,
L> that will listen on specific port and doing specific job sended to him.
L> Can someone give me links to informations how do this? What I must find
L> in internet, that will help me in building it?
L> I do this in .NET 2.0. Windows Service, that have some metods is ready.

What protocol will clients and that service use?
Maybe be it will be simpler to use web services in your scenario?
--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
16 Aug 2006 11:16 AM
Leszek
No. I must use Windows Service.
I will use OpenSSL Library.
The most difficult will be (for me) to create listening service on specific
port.
Can you give me any link to something about it?

I have problem with english and google is not my friend in this moment :/

Show quote
Uzytkownik "Vadym Stetsyak" <vady***@ukr.net> napisal w wiadomosci
news:uYIWurRwGHA.4576@TK2MSFTNGP03.phx.gbl...
> Hello, Leszek!
>
> L> Hello!
> L> I'm trying to create some kind of agent. It will be a Windows Service,
> L> that will listen on specific port and doing specific job sended to him.
> L> Can someone give me links to informations how do this? What I must find
> L> in internet, that will help me in building it?
> L> I do this in .NET 2.0. Windows Service, that have some metods is ready.
>
> What protocol will clients and that service use?
> Maybe be it will be simpler to use web services in your scenario?
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com
Author
16 Aug 2006 12:48 PM
Vadym Stetsyak
Hello, Leszek!

If I understood correctly, you need to start server socket to accept connections
from clients.
TcpListener will be a good start
( http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx )

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
Author
16 Aug 2006 1:00 PM
Leszek
It shoudn't make a problems in Windows Service?
Thanks for information :)
After all i write some words.

Show quote
Uzytkownik "Vadym Stetsyak" <vady***@ukr.net> napisal w wiadomosci
news:OBiqCITwGHA.3264@TK2MSFTNGP03.phx.gbl...
> Hello, Leszek!
>
> If I understood correctly, you need to start server socket to accept
> connections
> from clients.
> TcpListener will be a good start
> (
> http://msdn2.microsoft.com/en-us/library/system.net.sockets.tcplistener.aspx )
>
> --
> Regards, Vadym Stetsyak
> www: http://vadmyst.blogspot.com

AddThis Social Bookmark Button