---- IT Acumens. COM IT Acumens. COMIT Acumens. COM
OBJECTIVE To develop a user friendly Editor to support multi-platform and to overcome the drawbacks faced by Telnet. To develop a user friendly Editor to support multi-platform and to overcome the drawbacks faced by Telnet. Telnet is a protocol for connecting a Remote System. Telnet is a protocol for connecting a Remote System. Connection is made by providing a IP address for connection. Connection is made by providing a IP address for connection.
WIN_UX WINDOWS MACHINE LINUX MACHINE
Drawbacks of Vi Editor Vi Editor has 3 Modes of operation viz., Insert Mode Command Mode Visual Mode To edit a text in Vi Editor the modes have to changed accordingly. Its hard to remember the commands of Vi Editor
About our Editor This editor is a GUI based Editor This editor is a GUI based Editor User friendly User friendly Supports multi-platform Supports multi-platform Good Interface for Telnet Good Interface for Telnet
Modules Our Project comprises of 10 Modules: 1. 1.Connection 2. 2.Security System 3. 3.Command Processing 4. 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 with it Remote machine (Linux Server). The server sends the request given by the client and gets The core area of this project is to overcome the drawback faced by the Telnet. The server sends the request given by the client and gets The core area of this project is to overcome the drawback faced by the Telnet. the respond use of Telnet is to connect clients with it Remote machine (Linux Server). the respond use of Telnet is to connect clients with it Remote machine (Linux Server). It stores the files to the server, get it and execute from the server. It stores the files to the server, get it and execute from the server.
PROBLEM DEFINITION The existing vi editor has modes named insert mode and command mode used to type a program, to save, to delete etc., really working in this editor becomes tedious, and it will give headaches to the clients. The existing vi editor has modes named insert mode and command mode used to type a program, to save, to delete etc., really working in this editor becomes tedious, and it will give headaches to the clients. The program which we have developed in C helps us to communicate with the editor. The program which we have developed in C helps us to communicate with the editor.
SOFTWARE SPECIFICATION Windows OS as client Windows OS as client Linux as Remote server Linux as Remote server Visual Basic 6.0 Visual Basic 6.0 C HTML HTML
HARWARE SPECIFICATION PENTIUM III PROCESSOR PENTIUM III PROCESSOR 128 MB RAM 128 MB RAM 20 GB HARD DISK 20 GB HARD DISK 1.44 FLOPPY DRIVE 1.44 FLOPPY DRIVE 14 “ COLOUR MONITOR 14 “ COLOUR MONITOR 1O1 KEYS KEYBORD 1O1 KEYS KEYBORD SCROLL MOUSE SCROLL MOUSE
SERVERCLIENT BIND LISTEN ACCEPT WAITS UNTIL THE CONNECTION IS ESTABLISHED READ (or) RECV SEND (or) WRITE SOCKETSOCKET CONNECT ESTABLISH A CONNECTION WRITE (or) SEND REQUEST RESPONSE ARCHITECTURE OF TCP/IP
SOCKET Socket( ) is the end-end connection between the systems. Socket( ) is the end-end connection between the systems. Syntax: int socket(int domain, int type, int protocol); 1. Domain is set as "AF_INET“. 2. Type argument specifies the kernel of the socket “SOCK_STREAM”. 3. Protocol to "0". Syntax: int socket(int domain, int type, int protocol); 1. Domain is set as "AF_INET“. 2. Type argument specifies the kernel of the socket “SOCK_STREAM”. 3. Protocol to "0".
BIND Bind( ) method associates the socket with a port on the client machine. Bind( ) method associates the socket with a port on the client machine. Syntax: int bind(int sockfd, struct sockaddr *my_addr, int addrlen); 1. sockfd is the socket file descriptor returned by socket( ). 2. my_addr is a pointer to a struct sockaddr that contains information about your address, namely, port and IP address. 3. addrlen can be set to sizeof(struct sockaddr). Syntax: int bind(int sockfd, struct sockaddr *my_addr, int addrlen); 1. sockfd is the socket file descriptor returned by socket( ). 2. my_addr is a pointer to a struct sockaddr that contains information about your address, namely, port and IP address. 3. addrlen can be set to sizeof(struct sockaddr).
CONNECT Connect( ) is used to connect the remote host from the server. Connect( ) is used to connect the remote host from the server. Syntax: int connect(int sockfd, struct sockaddr *serv_addr, int addrlen); 1. sockfd is the socket file descriptor,returned by the socket( ) call. 2. serv_addr is a struct sockaddr containing the destination port and IP address. 3. addrlen can be set to sizeof(struct sockaddr). Syntax: int connect(int sockfd, struct sockaddr *serv_addr, int addrlen); 1. sockfd is the socket file descriptor,returned by the socket( ) call. 2. serv_addr is a struct sockaddr containing the destination port and IP address. 3. addrlen can be set to sizeof(struct sockaddr).
LISTEN Listen( ) waits for incoming connections and handle them appropriately. Listen( ) waits for incoming connections and handle them appropriately. Syntax: int listen(int sockfd, int backlog); 1. backlog is the number of connections allowed on the incoming queue i.e. the incoming connections are going to wait in this queue until the accept( ) fires. Syntax: int listen(int sockfd, int backlog); 1. backlog is the number of connections allowed on the incoming queue i.e. the incoming connections are going to wait in this queue until the accept( ) fires.
SEND & RECIEVE These two functions are for communicating over stream sockets or connected datagram sockets. These two functions are for communicating over stream sockets or connected datagram sockets. Syntax: int send(int sockfd, const void *msg, int len, int flags); int recv(int sockfd, void *buf, int len, unsigned int flags); Syntax: int send(int sockfd, const void *msg, int len, int flags); int recv(int sockfd, void *buf, int len, unsigned int flags);
sockfd is the socket descriptor where data is to be sent. sockfd is the socket descriptor where data is to be sent. msg is a pointer to the data you want to send. msg is a pointer to the data you want to send. len is the length of that data in bytes. len is the length of that data in bytes.
MODULES CONNECTION CONNECTION COMMAND PROCESSING COMMAND PROCESSING BACKUP MANAGER BACKUP MANAGER FILE TRANSACTION FILE TRANSACTION MAIL SERVICE MAIL SERVICE MEMORY CONTROL MEMORY CONTROL SEARCH ENGINE SEARCH ENGINE
CONNECTION IT ACT AS A TELNET PROTOCOL IT ACT AS A TELNET PROTOCOL WE CAN CONNECT TO SERVER FROM ANY MACHINE BY USE OF WINSOCK CONTROL IN VISUAL BASIC WE CAN CONNECT TO SERVER FROM ANY MACHINE BY USE OF WINSOCK CONTROL IN VISUAL BASIC PERFORM ALL OPERATION FROM LOCAL MACHINE PERFORM ALL OPERATION FROM LOCAL MACHINE
COMMAND PROCESSING PERFORM TELNET COMMANDS IN FRONTEND ITSELF PERFORM TELNET COMMANDS IN FRONTEND ITSELF
BACKUP MANAGER STORE FILES PERMANENTLY STORE FILES PERMANENTLY USER CAN GET BACK THEIR FILES USER CAN GET BACK THEIR FILES
FILE TRANSACTION TWO WAY COMMUNICATION BETWEEN CLIENT AND SERVER TWO WAY COMMUNICATION BETWEEN CLIENT AND SERVER TRANSFER FILES FROM SERVER TO CLIENT AND VICE VERSA TRANSFER FILES FROM SERVER TO CLIENT AND VICE VERSA
MAIL SERVICE Any client in the organization use this module to send or receive any mails. Any client in the organization use this module to send or receive any mails. This module contains two sub-modules This module contains two sub-modules Inbox Inbox Compose Compose
SEARCH ENGINE MODULE This module searches any document, web page or any other content from the server. This module searches any document, web page or any other content from the server. The admin can add some important pages related to corporate details in the server. The admin can add some important pages related to corporate details in the server. The clients can easily go through that by using this module and they can download it to them personnel hard disk. The clients can easily go through that by using this module and they can download it to them personnel hard disk.
ADMINISTRATOR MODULE SECURITY SYSTEM SECURITY SYSTEM MEMORY CONTROL MEMORY CONTROL USER SETTING USER SETTING
SECURITY SYSTEM PROTECT THE RESOURCES OF SERVER PROTECT THE RESOURCES OF SERVER PROTECT FROM IILEGAL ACCESS PROTECT FROM IILEGAL ACCESS ADD IP ADDRESS OF EACH CLIENT MACHINE ADD IP ADDRESS OF EACH CLIENT MACHINE
MEMORY CONTROL IT RESTRICT THE USER FROM USING EXCESS AMOUNT OF MEMORY IT RESTRICT THE USER FROM USING EXCESS AMOUNT OF MEMORY WE CAN ALLOCATE MEMORY TO EACH USER WE CAN ALLOCATE MEMORY TO EACH USER USED TO OVERCOME THE MEMORY PROBLEM USED TO OVERCOME THE MEMORY PROBLEM
FUTURE ENHANCEMENTS Planning to include the compilation facilities in our editor. i.e. for C, C++ & java programs. Planning to include the compilation facilities in our editor. i.e. for C, C++ & java programs.