Making C# Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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.

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

--
Chris

dunawayc[AT]sbcglobal_lunchmeat_[DOT]net

To send me an E-mail, remove the "[", "]", underscores ,lunchmeat, and
replace certain words in my E-Mail address.
 
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
 
Nick Malik said:
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.

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
 
Does something like this work?

DataGrid1.Columns[0].HeaderText=DateTime.Now.ToShortDateString();
 
Back
Top