Beruflich Dokumente
Kultur Dokumente
In this lab, we shall use a client-server model in which one computer shall act as “server” while the other
will act as “client”.
while your google chrome software is WEB browser (client) using port 80
Here we shall create a server in C# which sends a text message to the client software.
The client software shall be a telnet software. Windows XP users can use telnet command in cmd.exe
(DOS) or use hyperterminal software. Windows 7 users can use software PuTTY available at
www.chiark.greenend.org.uk/~sgtatham/putty/
In order to communicate, a server must dedicate its one port for that service. E.g. the same Microsoft
server may be web server, ftp server and telnet at the same time i.e. using same IP but different service
uses different port no.
In this experiment, we will create a server at port 65000 and client test software (PuTTY) will connect to
this port.
using System;
using System.Net.Sockets;
Run PuTTy. Type your server IP in host name and use port 65000. Choose connection type as telnet.