---- ---- IT Acumens. COMIT Acumens. COM
OBJECTIVE
To develop a user friendly To develop a user friendly Editor to Editor to support multi-platform and to support multi-platform and to overcome the drawbacks overcome the drawbacks faced by faced by Telnet.Telnet.
Telnet is a protocol for connecting a Telnet is a protocol for connecting a Remote System.Remote System.
Connection is made by providing a IP Connection is made by providing a IP address for connection.address for connection.
WIN_UXWIN_UX
WINDOWS MACHINEWINDOWS MACHINE LINUX MACHINELINUX MACHINE
Drawbacks of Vi Editor
Vi Editor has 3 Modes of operation viz., Vi Editor has 3 Modes of operation viz., Insert ModeInsert Mode
Command ModeCommand Mode Visual ModeVisual Mode
To edit a text in Vi Editor the modes To edit a text in Vi Editor the modes have to changed accordingly.have to changed accordingly.
Its hard to remember the commands of Its hard to remember the commands of Vi EditorVi Editor
About our Editor
This editor is a GUI based EditorThis editor is a GUI based EditorUser friendlyUser friendlySupports multi-platformSupports multi-platformGood Interface for TelnetGood Interface for Telnet
Modules
Our Project comprises of 10 Modules:
1.Connection
2.Security System
3.Command Processing
4.Backup Manager
5.File Transaction
6.Mail Service
7.Memory Control
8.Search Engine
SYSTEM ANALYSIS
The use of Telnet is to connect clients The use of Telnet is to connect clients with it Remote machine (Linux Server).with it Remote machine (Linux Server).
The server sends the request given by the The server sends the request given by the client and gets The core area of this project client and gets The core area of this project is to overcome the drawback faced by the is to overcome the drawback faced by the Telnet.Telnet.
the respond use of Telnet is to connect the respond use of Telnet is to connect clients with it Remote machine (Linux clients with it Remote machine (Linux Server).Server).
It stores the files to the server, get it and It stores the files to the server, get it and execute from the server.execute from the server.
PROBLEM DEFINITION
The existing vi editor has modes The existing vi editor has modes named insert mode and command named insert mode and command mode used to type a program, to save, mode used to type a program, to save, to delete etc., really working in this to delete etc., really working in this editor becomes tedious, and it will give editor becomes tedious, and it will give headaches to the clients. headaches to the clients.
The program which we have developed The program which we have developed in C helps us to communicate with the in C helps us to communicate with the editor.editor.
SOFTWARE SPECIFICATION
Windows OS as clientWindows OS as clientLinux as Remote serverLinux as Remote serverVisual Basic 6.0Visual Basic 6.0C C HTMLHTML
HARWARE SPECIFICATIONHARWARE SPECIFICATION
PENTIUM III PROCESSORPENTIUM III PROCESSOR128 MB RAM128 MB RAM20 GB HARD DISK20 GB HARD DISK1.44 FLOPPY DRIVE1.44 FLOPPY DRIVE14 “ COLOUR MONITOR14 “ COLOUR MONITOR1O1 KEYS KEYBORD1O1 KEYS KEYBORDSCROLL MOUSESCROLL MOUSE
SERVERSERVER CLIENTCLIENT
BINDBIND
LISTENLISTEN
ACCEPTACCEPT
WAITS UNTIL THE CONNECTIONWAITS UNTIL THE CONNECTIONIS ESTABLISHEDIS ESTABLISHED
READ (or) RECVREAD (or) RECV
READ (or) RECVREAD (or) RECVSEND (or) WRITESEND (or) WRITE
SOCKETSOCKET SOCKETSOCKET
CONNECTCONNECT
ESTABLISH AESTABLISH ACONNECTIONCONNECTION
WRITE (or) SENDWRITE (or) SEND
REQUESTREQUEST
RESPONSERESPONSE
ARCHITECTUREARCHITECTUREOFOF
TCP/IPTCP/IP
SOCKET
Socket( ) is the end-end connection Socket( ) is the end-end connection between the systems.between the systems.
SyntaxSyntax::int socket(int domain, int type, int socket(int domain, int type, int protocol);int protocol);1. Domain is set as "1. Domain is set as "AF_INETAF_INET“. “. 2. Type argument specifies the kernel 2. Type argument specifies the kernel of the of the socket “socket “SOCK_STREAM”.SOCK_STREAM”.3. Protocol to "3. Protocol to "00". ".
BIND
Bind( ) method associates the socket with a port Bind( ) method associates the socket with a port on the client machine.on the client machine.
Syntax:Syntax:int bind(int sockfd, struct sockaddr int bind(int sockfd, struct sockaddr *my_addr, int addrlen);*my_addr, int addrlen);1. 1. sockfdsockfd is the socket file descriptor is the socket file descriptor returned by socket( ).returned by socket( ).2. 2. my_addrmy_addr is a pointer to a struct is a pointer to a struct sockaddr that contains information about sockaddr that contains information about your address, namely, port and IP address.your address, namely, port and IP address.3. 3. addrlenaddrlen can be set to sizeof(struct can be set to sizeof(struct sockaddr).sockaddr).
CONNECT
Connect( ) is used to connect the remote host from Connect( ) is used to connect the remote host from the server.the server.
Syntax:Syntax:int connect(int sockfd, struct sockaddr int connect(int sockfd, struct sockaddr *serv_addr, int addrlen);*serv_addr, int addrlen);1. sockfd is the socket file descriptor,returned 1. sockfd is the socket file descriptor,returned by the socket( ) call.by the socket( ) call.2. serv_addr is a struct sockaddr containing 2. serv_addr is a struct sockaddr containing the destination port and IP address.the destination port and IP address.3. addrlen can be set to sizeof(struct 3. addrlen can be set to sizeof(struct sockaddr). sockaddr).
LISTENListen( ) waits for incoming connections Listen( ) waits for incoming connections
and handle them appropriately.and handle them appropriately.Syntax:Syntax:
int listen(int sockfd, int backlog);int listen(int sockfd, int backlog);1. backlog is the number of 1. backlog is the number of connections allowed on the incoming connections allowed on the incoming queue i.e. the incoming connections queue i.e. the incoming connections are going to wait in this queue until are going to wait in this queue until the accept( ) fires. the accept( ) fires.
SEND & RECIEVESEND & RECIEVE
These two functions are for These two functions are for communicating over stream sockets or communicating over stream sockets or connected datagram sockets.connected datagram sockets.
Syntax:Syntax:int send(int sockfd, const void int send(int sockfd, const void *msg, int len, int flags);*msg, int len, int flags);int recv(int sockfd, void *buf, int int recv(int sockfd, void *buf, int len, unsigned int flags); len, unsigned int flags);
sockfdsockfd is the socket descriptor is the socket descriptor where data is to be sent.where data is to be sent.
msgmsg is a pointer to the data you is a pointer to the data you want to send.want to send.
lenlen is the length of that data in is the length of that data in bytes.bytes.
MODULESMODULES
• CONNECTIONCONNECTION• COMMAND PROCESSINGCOMMAND PROCESSING• BACKUP MANAGERBACKUP MANAGER• FILE TRANSACTIONFILE TRANSACTION• MAIL SERVICEMAIL SERVICE• MEMORY CONTROLMEMORY CONTROL• SEARCH ENGINESEARCH ENGINE
CONNECTIONCONNECTION
IT ACT AS A TELNET PROTOCOLIT ACT AS A TELNET PROTOCOLWE CAN CONNECT TO SERVER FROM WE CAN CONNECT TO SERVER FROM
ANY MACHINE BY USE OF WINSOCK ANY MACHINE BY USE OF WINSOCK CONTROL IN VISUAL BASICCONTROL IN VISUAL BASIC
PERFORM ALL OPERATION FROM PERFORM ALL OPERATION FROM LOCAL MACHINELOCAL MACHINE
COMMAND PROCESSINGCOMMAND PROCESSING
PERFORM TELNET COMMANDS IN PERFORM TELNET COMMANDS IN FRONTEND ITSELFFRONTEND ITSELF
BACKUP MANAGERBACKUP MANAGER
STORE FILES PERMANENTLYSTORE FILES PERMANENTLYUSER CAN GET BACK THEIR FILESUSER CAN GET BACK THEIR FILES
FILE TRANSACTIONFILE TRANSACTION
TWO WAY COMMUNICATION TWO WAY COMMUNICATION BETWEEN CLIENT AND SERVERBETWEEN CLIENT AND SERVER
TRANSFER FILES FROM SERVER TO TRANSFER FILES FROM SERVER TO CLIENT AND VICE VERSACLIENT AND VICE VERSA
MAIL SERVICE
Any client in the organization use this Any client in the organization use this module to send or receive any mails.module to send or receive any mails.
This module contains two sub-modulesThis module contains two sub-modules
InboxInbox ComposeCompose
SEARCH ENGINE MODULE
This module searches any document, web This module searches any document, web page or any other content from the server.page or any other content from the server.
The admin can add some important pages The admin can add some important pages related to corporate details in the server.related to corporate details in the server.
The clients can easily go through that by The clients can easily go through that by using this module and they can download using this module and they can download it to them personnel hard diskit to them personnel hard disk..
ADMINISTRATOR MODULEADMINISTRATOR MODULE
SECURITY SYSTEM SECURITY SYSTEM MEMORY CONTROLMEMORY CONTROLUSER SETTINGUSER SETTING
SECURITY SYSTEMSECURITY SYSTEM
PROTECT THE RESOURCES OF PROTECT THE RESOURCES OF SERVERSERVER
PROTECT FROM IILEGAL ACCESSPROTECT FROM IILEGAL ACCESSADD IP ADDRESS OF EACH CLIENT ADD IP ADDRESS OF EACH CLIENT
MACHINEMACHINE
MEMORY CONTROLMEMORY CONTROL
IT RESTRICT THE USER FROM USING IT RESTRICT THE USER FROM USING EXCESS AMOUNT OF MEMORYEXCESS AMOUNT OF MEMORY
WE CAN ALLOCATE MEMORY TO WE CAN ALLOCATE MEMORY TO EACH USEREACH USER
USED TO OVERCOME THE MEMORY USED TO OVERCOME THE MEMORY PROBLEMPROBLEM
FUTURE ENHANCEMENTSFUTURE ENHANCEMENTS
Planning to include the compilation Planning to include the compilation facilities in our editor. i.e. for facilities in our editor. i.e. for C, C++ & java programs. C, C++ & java programs.
Top Related