how i run a tcplistener in a windows service

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • byron guerrero

    how i run a tcplistener in a windows service

    I need to execute a TcpListener in a windows service.

    tanks for the help.

  • Juan Gabriel Del Cid

    #2
    Re: how i run a tcplistener in a windows service

    > I need to execute a TcpListener in a windows service.[color=blue]
    >
    > tanks for the help.[/color]

    Try this:

    TcpListener listener = new TcpListener(the PortToListenOn) ;
    listener.Start( );

    -JG


    Comment

    • Ignacio Machin \( .NET/ C#  MVP \)

      #3
      Re: how i run a tcplistener in a windows service

      Hi Byron,

      What exactly is what you are tryig to do. I can post you some code if you
      need it.

      Cheers,

      --
      Ignacio Machin,
      ignacio.machin AT dot.state.fl.us
      Florida Department Of Transportation

      "byron guerrero" <bguerrer@banca red.com.gt> wrote in message
      news:1d9001c389 3b$190fd690$a00 1280a@phx.gbl.. .[color=blue]
      > I need to execute a TcpListener in a windows service.
      >
      > tanks for the help.
      >[/color]


      Comment

      • Ignacio Machin \( .NET/ C#  MVP \)

        #4
        Re: how i run a tcplistener in a windows service

        Hi,

        What you mean with implement SSL?
        and why you cannot use IIS?

        Anyway, take a look at this post:


        Hope this help,

        --
        Ignacio Machin,
        ignacio.machin AT dot.state.fl.us
        Florida Department Of Transportation

        "bguerrero" <bguerrero@banc ared.com.gt> wrote in message
        news:139b01c389 bb$94fa7f00$a40 1280a@phx.gbl.. .[color=blue]
        > Hi, thanks fot answer.
        >
        > i need to implement ssl/tls on a window service, because i
        > cant use iis server to handle this. So i need to implement
        > ssl and tls on a tcplistener.
        >
        > Thanks for the help
        >[color=green]
        > >-----Original Message-----
        > >Hi Byron,
        > >
        > >What exactly is what you are tryig to do. I can post you[/color]
        > some code if you[color=green]
        > >need it.
        > >
        > >Cheers,
        > >
        > >--
        > >Ignacio Machin,
        > >ignacio.mach in AT dot.state.fl.us
        > >Florida Department Of Transportation
        > >
        > >"byron guerrero" <bguerrer@banca red.com.gt> wrote in[/color]
        > message[color=green]
        > >news:1d9001c38 93b$190fd690$a0 01280a@phx.gbl. ..[color=darkred]
        > >> I need to execute a TcpListener in a windows service.
        > >>
        > >> tanks for the help.
        > >>[/color]
        > >
        > >
        > >.
        > >[/color][/color]


        Comment

        • Juan Gabriel Del Cid

          #5
          Re: how i run a tcplistener in a windows service

          > i need to implement ssl/tls on a window service, because i[color=blue]
          > cant use iis server to handle this. So i need to implement
          > ssl and tls on a tcplistener.[/color]

          Scott Allen responded to a question similar to this one a few days ago.
          Here's a link you might want to check out:

          Free software components for C#, VB.NET and other .NET languages.


          -JG


          Comment

          Working...