INTRANET MULTICLIENT COMMUNICATION
Ms.A.M.Madura
1, Ms.J.Neelaveni
2, Mrs.K.Kayalvizhi
31,2
PG Scholar,
3Assistant Professor, Department of Computer Science,
Dhanalakshmi Srinivasan College of Arts and Science for Women, Perambalur, Tamil Nadu (India)
ABSTRACT
The Project Entitled is “INTRANET MULTICLIENT COMMUNICATIONS” Private network used within the company. An intranet serves the internal needs of the business entity. The most popular intranet application is obviously inter-office communications. This capability allows the employees of a company to communicate with each other swiftly and easily. If the intranet is running without the Internet, special chat software packages can be bought and installed so that employees can take advantage of its many benefits Intranet users are able to access the Internet, but firewalls keep outsiders from accessing confidential data. It makes use of the infrastructure and standards of the Internet and the Web. Intranets use low-cost Internet tools, are easy to install, and offer flexibility.Intranets can be equipped with software to allow for live chat rooms or instant messages, so that employees can communicate with each other online about work-related subjects. If a company is considering this form of communication, they should first form a policy about what can be discussed in an intranet chat. Chat room moderators and software to log the chats for future reference should also be considered. Despite these options, it is still difficult to see live online chats replacing traditional company meetings anytime soon.
Keyword: Firewall, low cost, easy to install, socket,IP Address.
I. INTRODUCTION
This project is developed to communicate with in organization using intranet .The most popular intranet application is obviously inter-office chat. This capability allows the employees of a company to communicate with each other swiftly and easily. If the intranet has access to the Internet, chat can be accessed through the Internet connection. If the intranet is running without the Internet, special chat software packages can be bought and installed so that employees can take advantage of its many benefits.Two types of socket used socket chat server, socket chat client for communicate the client and server, socket is one end of a two way communication between client and server, client can write request to the socket, and server will process that request and return back via socket. Every type of company has to deal with forms of some sort. This is another area where paperwork can become a problem for a business. Intranet servers can be equipped with programs that allow for forms to be filled out online.They could also be downloaded and printed out by the users themselves, which would cut down on the time it would take to distribute these forms manually. While somewhat complicated, intranets can be equipped with software to allow for live chat rooms or instant messages so that employees can communicate with each other online about work-related subjects.
II. SYSTEM STUDY 2.1 Existing System
2.1.1 UDP Protocol:The UDP protocol is very different from the TCP protocol. In the TCP protocol the server and the client have a flowing constant connection between them and they communicate in the form for byte streams. The TCP protocol is a bit more robust and guarantees that your message will be delivered to the other end. UDP protocol is different from this, here there is no connection between the two endpoints and the communication takes place in the form of packets of data called Datagram. Also UDP does not guarantee the delivery of your message to the endpoint (so think carefully before you use this protocol). Since there is no connection between the two end points, its very difficult for the server to know from where the Datagram came, hence you have to explicitly tell the server the address of the client so that it can send its response at the client mentioned address (IP Address and Port Number).
2.2 Proposed System
2.2.1 Socket Chat Server1) Once the socket chat server is started, it starts listening for new clients on port 5151 and local host as the IP.
The process of accepting new clients is put within a thread.
2) As soon as a new client connects, a new object of the class Client is made and the reference to this socket is passed as a constructor parameter to the Client class. The Client class takes the job here of handling all the communication with the connected client.
3) Also the Server registers with the Client object to receive notification when the client Connects, Disconnects or sends a Message.
4) As soon as the Client object is created it waits for the connecting user to send the user name. Once the user name is received it looks-up the Client List class to see if the user name already exists, if so then a necessary response is given to the client and the connection is closed. Incase the user name is unique it is added to the Client List class and a special GUID is assigned to the user. Lastly the user is sent the list of all connected users and the connected event is raised, which the Server picks-up and notifies all the connected users the arrival of a new client.
5) One important thing to note here is that this project using Asynchronous method of waiting for data from clients. The benefit of this is that server consumes less resource and there is no need for starting a separate thread for each client! This is the reason why this project not used separate threads for each client, since Asynchronous programming takes care of the resources itself!!
6) When a user sends a message the Message Received event is raised, the Server Form which takes care of this event, loops through the Hash table of clients and sends the message to each of the clients.
2.2.2 Socket Chat Client
1) When the user enters user name and click’s the Connect button, the Client Form connects to the Socket Chat Server at port 5151 and local host and sends the user name to the server. (Incase you are planning to use the Client over the network you should change “local host” to the name of the machine that will host the server).
2) If the user name is unique then the server sends the unique GUID along with the list of connected users to the Client. The GUID is stored for future communication with the server, while the users list is added to the List Box.
3) Once the above step if fulfilled, the waits for messages asynchronously, and if the user enters a new message then its sent to the server.
4) The server sends all commands (like announcement of a new user connecting) prefixed with the GUID that has been assigned to the user. So when ever a message is
received, the Client checks if it’s prefixed with the GUID, if not it is displayed as a message.
III. PROBLEM DESCRIPTION
This project is developed to communicate with in organization using intranet .the most popular intranet application is obviously inter-office chat.
User Authentication.
Main.
History.
Chat.
3.1 User Authentication
This module contains the end user and the administrator and the website loggers. Each web logger can enter to our website to share their data from their web databases.Administrator will be the total controller of the project.
End user can register and login to our website to make the efficient search for finding and downloading the real books.
3.2 Main
The Server entered to chat by click the connect button. Then the register server form will be opened. In that form IP address and the port ID is opened. In that port address is set as default. Server want enter our server number in the IP address column. Then give the comment as click the connect button. Then the connection should be established and also the connecting message will be displayed.
3.3 History
The Client details such as users who are in the status as online and who are disconnected lastly details are displayed in this page.
3.4 Chat
The client module contains the chat window to communicate with the server. These communications can be done by most number of clients by establishing new connection corresponding to their IP address.
The connection establishment is made by click the status button in the chat window. From that click the connect button, then the connection form window opens. In that window , the client enter their name, IP address, port address and choose their favorite color to identify easily while through communication. The port address is set as default, so no need to set that address. The client wants to specify their server number in the IP address
column. After entered the complete details click the connect button, the connection should be made between the client and the server.
IV. DATAFLOW DIAGRAM 4.1 Client
4.2 Server
Server Client
Messages
Connection Request Name
IP Address
Port Number
Color
Connected
Disconnected
Status Disconnect
Send
4.3 History
V. CONCLUSION
It is concluded that the application works well and satisfy the users. The application is tested very well and errors are properly debugged. The site is simultaneously accessed from more than one system. Simultaneous login from more than one place is tested.
The site works according to the restrictions provided in their respective browsers. Further enhancements can be made to the application, so that the web site functions very attractive and useful manner than the present one.
The speed of the transactions become more enough now.
REFERENCE
[1]. Steve Harris And Robmacdonald, “Web Development With Vb.Net” -Apres
[2]. Matthew Macdonald, “Microsoft Visual Basic.Net Programmer’s Cookbook” -Tata Mcgraw Hill Edition [3]. Chris Goode, John Kauffman “Beginning Asp.Net 1.0 With Visual Basic.Net” -Wrox Programmer To
Programmer
[4]. Douglaso.Reilly, “Designing Microsoft Asp.Net Applications”-Tata Mcgraw Hill Edition
BIOGRAPHICAL NOTES
Ms.J.NEELAVENI a is presently pursuing M.Sc.,Final year the Department of Computer Science From Dhanalakshmi Srinivasan College of Arts and Science for Women,perambalur.
History Client Name
In/Out
Time
Disconnect
Save
Ms.A.M.MADURA a is presently pursuing M.Sc.,Final year the Department of Computer Science From Dhanalakshmi Srinivasan College of Arts and Science for Women,perambalur.