Making C# Server

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

    #1

    Making C# Server

    Hi,

    May you explain me how can i make my own Server using Dot net?

    The protocol Tcp/IP needed to be used but how can I implement it with the
    Dot Net?

    It is easy to create server for a local network, but for internet i don't
    know.

    Thank you.
  • Chris Dunaway

    #2
    Re: Making C# Server

    On Sun, 3 Oct 2004 09:13:02 -0700, Julien wrote:
    [color=blue]
    > Hi,
    >
    > May you explain me how can i make my own Server using Dot net?
    >
    > The protocol Tcp/IP needed to be used but how can I implement it with the
    > Dot Net?
    >
    > It is easy to create server for a local network, but for internet i don't
    > know.
    >
    > Thank you.[/color]

    Look in the docs at the TCPClient and TCPListener classes. That should
    give you some ideas.

    --
    Chris

    dunawayc[AT]sbcglobal_lunch meat_[DOT]net

    To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
    replace certain words in my E-Mail address.

    Comment

    • Nick Malik

      #3
      Re: Making C# Server

      Pick up a copy of the book:
      Advanced .NET Remoting
      by Ingo Rammer

      You may also want to take a hard look at web services... much better than
      straight TCP stack work... the protocol is already defined for you.

      --- Nick

      "Julien" <Julien@discuss ions.microsoft. com> wrote in message
      news:CE2BEC38-AA2D-43D2-B8D2-848FE1418176@mi crosoft.com...[color=blue]
      > Hi,
      >
      > May you explain me how can i make my own Server using Dot net?
      >
      > The protocol Tcp/IP needed to be used but how can I implement it with the
      > Dot Net?
      >
      > It is easy to create server for a local network, but for internet i don't
      > know.
      >
      > Thank you.[/color]


      Comment

      • Andrew Faust

        #4
        Re: Making C# Server


        "Nick Malik" <nickmalik@hotm ail.nospam.com> wrote in message
        news:V8d8d.1758 65$D%.102789@at tbi_s51...[color=blue]
        > Pick up a copy of the book:
        > Advanced .NET Remoting
        > by Ingo Rammer
        >
        > You may also want to take a hard look at web services... much
        > better than
        > straight TCP stack work... the protocol is already defined for
        > you.[/color]

        Just a warning to the OP. Don't just straight jump in and use
        webservices first without researching if they are the best way to
        accomplish your goals. I agree that web services are great, and I
        use them for certain operations, but depending on what your
        server does, and how often you need to communicate back and
        forth, it may be better to avoid web services.

        Andrew Faust


        Comment

        • pm

          #5
          RE: Making C# Server

          Does something like this work?

          DataGrid1.Colum ns[0].HeaderText=Dat eTime.Now.ToSho rtDateString();

          "Julien" wrote:
          [color=blue]
          > Hi,
          >
          > May you explain me how can i make my own Server using Dot net?
          >
          > The protocol Tcp/IP needed to be used but how can I implement it with the
          > Dot Net?
          >
          > It is easy to create server for a local network, but for internet i don't
          > know.
          >
          > Thank you.[/color]

          Comment

          • pm

            #6
            RE: Making C# Server

            Does something like this work?

            DataGrid1.Colum ns[0].HeaderText=Dat eTime.Now.ToSho rtDateString();

            "Julien" wrote:
            [color=blue]
            > Hi,
            >
            > May you explain me how can i make my own Server using Dot net?
            >
            > The protocol Tcp/IP needed to be used but how can I implement it with the
            > Dot Net?
            >
            > It is easy to create server for a local network, but for internet i don't
            > know.
            >
            > Thank you.[/color]

            Comment

            Working...