473,563 Members | 2,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 4425
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.co m

"Joe" <jo*@usa.comwro te in message
news:13******** *****@corp.supe rnews.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.co m

"Joe" <jo*@usa.comwro te in message
news:13******** *****@corp.supe rnews.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
50267
by: Dan | last post by:
I'm writing a simplistic telnet client in VB6 and I've run into a small snag. The program has a textbox to write in the string to be sent using ..SendData and has another textbox that displays what that server sends. When I first connect to the server (in this case, my university's smtp server), I get a response that the server acknowledges...
3
8654
by: Yannick Turgeon | last post by:
Hello all, I'm currently trying to pass commands to a telnet session and get the texte generated (stdin + stdout) by the session. The problem I get is that the Telnet.read_until() function seems to freeze after a couple of command. I did a simplify script that reproduce the problem each time (I'm using 2.3.4 on W2K):
4
11146
by: Donnal Walter | last post by:
On Windows XP I am able to connect to a remote telnet server from the command prompt using: telnet nnn.nnn.nnn.nnn 23 where nnn.nnn.nnn.nnn is the IP address of the host. But using telnetlib, this code returns the traceback that follows: import telnetlib host = 'nnn.nnn.nnn.nnn'
5
2536
by: Jim Isaacson | last post by:
Hi I'm looking for some help or a sample of a socket call to talk to a telnet server and send a telnet break from a C program. I've looked at the Stevens book and tried examples of his daytime code but can't seem to get the text from the server to display, much less send a telnet break. Any help is appreciated. Jim
3
5392
by: paolo | last post by:
Hi, any one know where I can get a sample or some info on how to write a telnet program ?? Thanks, Paolo
4
2497
by: Hai Nguyen | last post by:
I'm learning C sharp and do not like vb much. I'm creatiing a wepage using panel to test myself. I tried to use these code below, which is written in VB, and to transform them to c sharp but I got hard time to understand vb syntax. I don't know if anyone in here can point out which is the equivalent object used in c sharp. Translate these...
2
5172
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote destinations. must provide login security before make communication 2 telnet communication should not be a direct 1 to 1 communication and that must be as...
1
6181
by: mike11d11 | last post by:
Could anybody give me a sample of code or somehting to help create a form that would display a telnet session within Access 2002.
5
10075
by: anthony | last post by:
I am trying to find a simple example on how do telnet from VBA, but I am not having any luck. Most of the information I am finding is out dated or vauge at best. Here is what I need to do, 1. Build a text file from a table. 2. FTP this file to a UNIX server. 3. Execute a UNIX command to process the file. I have #1 and #2 working great,...
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7642
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.