469,934 Members | 2,757 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,934 developers. It's quick & easy.

C Sharp 2008 Telnet Server Sample

Joe
Every thing I have fount was for C Sharp 2005, and I can't get any thing
to work. Can some some show me a code for a telnet server in C Sharp
2008 that will a allow more then one connection.
Jan 26 '08 #1
6 4285
Joe,

If your samples work in VS.NET 2005, then they should work in VS.NET
2008 without any (or at the most, minimal) adjustments.

What are the errors that you are getting when you try to build/run it in
VS.NET 2008?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe" <jo*@usa.comwrote in message
news:13*************@corp.supernews.com...
Every thing I have fount was for C Sharp 2005, and I can't get any thing
to work. Can some some show me a code for a telnet server in C Sharp 2008
that will a allow more then one connection.
Jan 26 '08 #2
Most of the errors I get are for C# 2005, and they just don't work in
2008. Now some of the errors I could fix. But not all of them.
The errors dont work, fine... so the errors u fixed are gone but still
some (errors) wont work?
I thought I had a problem locating chr$(12) but now I see, my errors
dont work either...
//CY
Jan 26 '08 #3
Joe
Nicholas Paldino [.NET/C# MVP] wrote:
Joe,

If your samples work in VS.NET 2005, then they should work in VS.NET
2008 without any (or at the most, minimal) adjustments.

What are the errors that you are getting when you try to build/run it
in VS.NET 2008?

Yep, I just check. All the samples I have are in the C# console and
won't work in the forms application. So that what I need is a sample of
a telnet server in C sharp Windows Application.

Jan 26 '08 #4
Joe,

Well, why not create a TextBox of a fixed size (the size of the terminal
screen you are emulating) set it to a fixed font, and then write the
characters where you want.

The easiest thing to do would be to have a panel and actually do the
drawing of the characters yourself (it's just a fixed grid of characters in
a fixed font).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Joe" <jo*@usa.comwrote in message
news:13*************@corp.supernews.com...
Nicholas Paldino [.NET/C# MVP] wrote:
>Joe,

If your samples work in VS.NET 2005, then they should work in VS.NET
2008 without any (or at the most, minimal) adjustments.

What are the errors that you are getting when you try to build/run it
in VS.NET 2008?

Yep, I just check. All the samples I have are in the C# console and won't
work in the forms application. So that what I need is a sample of a telnet
server in C sharp Windows Application.
Jan 26 '08 #5
Joe
Nicholas Paldino [.NET/C# MVP] wrote:
Joe,

Well, why not create a TextBox of a fixed size (the size of the
terminal screen you are emulating) set it to a fixed font, and then
write the characters where you want.

The easiest thing to do would be to have a panel and actually do the
drawing of the characters yourself (it's just a fixed grid of characters
in a fixed font).
Yes, I tried that and couldn't get it to show in the TextBox. I also
tried a ListBox too and it didn't work as well. Just don't know what you
try next

Jan 27 '08 #6
Hi,
I am also looking for the source code for a Telnet server in C#. Where did
you find your code? I am also working on a multi-threaded server framework
that allows you to implement different protocols very easily without having
to worry about the mult-threading aspects.

"Joe" wrote:
Every thing I have fount was for C Sharp 2005, and I can't get any thing
to work. Can some some show me a code for a telnet server in C Sharp
2008 that will a allow more then one connection.
Feb 19 '08 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Yannick Turgeon | last post: by
4 posts views Thread by Donnal Walter | last post: by
3 posts views Thread by paolo | last post: by
1 post views Thread by mike11d11 | last post: by
5 posts views Thread by anthony | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.