Preview

feasibility analysis

Good Essays
Open Document
Open Document
663 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
feasibility analysis
OBJECTIVE :

Many of today’s systems act as servers to satisfy requests generated by clients. This is a form of distributed system, called client-server system.The main objective of this assignment is to implement a simple client-server system and chat server system by using multithreading in JAVA.Both the systems consist of two separate parts,client application and server application
DESCRIPTION:

One of the basic client-server services is the "echo service". The client program connects to the server over the network. After the connection is established, whatever the client sends to the server is echoed back by the server to the client. The Echo server can be either iterative or concurrent. An iterative server can serve only one client at a time. A concurrent server can handle multiple clients; each client will be handled by a separate thread.

SOCKET SERVER CREATION:

A socket is the one end-point of a two-way communication link between two programs running over the network. However one can run the two programs on the same computer. Such communicating programs constitutes a client/server application. The server implements a dedicated logic, called service. The clients connect to the server to get served, for example, to obtain some data or to ask for the computation of some data. Different client/server applications implement different kind of services.
A network connection is initiated by a client program when it creates a socket for the communication with the server. To create the socket in Java, the client calls the Socket constructor and passes the server address and the the specific server port number to it. At this stage the server must be started on the machine having the specified address and listening for connections on its specific port number. The server side socket associated with specific port is called server socket. When a connection request arrives on this socket from the client side, the client and the server establish a connection.

You May Also Find These Documents Helpful

  • Powerful Essays

    Nt1310 Unit 7 Vocab Answers

    • 4516 Words
    • 19 Pages

    * client – An application that works on a individual computer which then relies on another piece of equipment to perform operations.…

    • 4516 Words
    • 19 Pages
    Powerful Essays
  • Powerful Essays

    Nt1310 Unit 1

    • 4209 Words
    • 17 Pages

    83) Which process is responsible for establishing a connection between the client and the server?…

    • 4209 Words
    • 17 Pages
    Powerful Essays
  • Satisfactory Essays

    A general term for software that is designed to destroy or disrupt data or do other unwanted actions in a computer system.…

    • 1399 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    2-tier architecture is used to describe client/server systems where the client requests resources and the server responds directly to the request, using its own resources. This means that the server does not call on another application in order to provide part of the service.…

    • 1004 Words
    • 5 Pages
    Good Essays
  • Good Essays

    In this chapter, we will cover asynchronous socket programming and common recipes using Netty for building network-based application. The user story is, you get requirements to develop a system, that client and server can communicate asynchronously using TCP/IP . So we will divide the problem to 6 common recipes:…

    • 1485 Words
    • 6 Pages
    Good Essays
  • Powerful Essays

    Unix Network Programing

    • 5507 Words
    • 23 Pages

    Three interrelated aspects: r TCP/IP protocol suite r standard Internet applications r coding using UNIX sockets API…

    • 5507 Words
    • 23 Pages
    Powerful Essays
  • Satisfactory Essays

    Rajinder Yadav Copyright © 2007 www.devmentor.org Client / Server Programming with TCP/IP Sockets Author: Rajinder Yadav Date: Sept 9, 2007…

    • 4143 Words
    • 17 Pages
    Satisfactory Essays
  • Better Essays

    client/server computing A model for computing that splits processing between clients and servers on a network, assigning functions to the machine most able to perform the function.…

    • 1010 Words
    • 5 Pages
    Better Essays
  • Powerful Essays

    Holiday Assignment(Perl)

    • 1582 Words
    • 7 Pages

    A program that wishes to receive a connection from another program, asks the operating system to create a socket and bind it to some port. Then the program sits and listens on the socket it has created to receive incoming connections. The other program also creates a socket for communicating with the receiver. The caller needs to specify the IP address and the port number of the receiving end. The two programs may exchange information, each by writing to and reading from the socket it has created.…

    • 1582 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    A distributed system consist a number of computer that can send data to each other via a network. According to architectural model, the components of the system interact with each they are mapped onto an underlying network of computers. All communication is achieved by message passing. Users and applications can interact uniform way consistently, based on where and when interaction takes place.…

    • 1109 Words
    • 5 Pages
    Powerful Essays
  • Powerful Essays

    5. What information is needed to create a TCP Socket? - The Local System?s IP Address and Port Number. And the Remote System’s IPAddress and Port Number.…

    • 34626 Words
    • 139 Pages
    Powerful Essays
  • Good Essays

    Interprocess Communication

    • 2687 Words
    • 11 Pages

    Characteristics – Endpoint for inter-process communication – Message transmission between sockets – A socket is associated with either UDP or TCP – Sockets are bound to ports – One process can use many ports – Processes don’t share sockets (unless…

    • 2687 Words
    • 11 Pages
    Good Essays
  • Powerful Essays

    Assig 3

    • 3337 Words
    • 11 Pages

    Apart from history this discussion we look at Evolution of Client-Server Computing, Configurations in Client-Server Computing, the Four Dominant Client/Server Application Models, Characteristics and Features of Client-Server Computing in business, Main Applications of a Client-Server Computing in business, Applying client/server Computing in businesses, Reasons for adopting client/server technology by a business, Benefits of adopting client/server technology, Limitations for the client/server technology, Golden Rules of Client/Server Implementation and finally the Conclusions all in relation business.…

    • 3337 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    Internet

    • 1343 Words
    • 6 Pages

    My topic was the Internet, especially the TCP/IP; the URL, the DNS and ISPs. To understand these concepts it is indispensible to know, what Computer Communication Protocol is. We can define it as a description of the rules computers must follow to communicate with each other.…

    • 1343 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    Computer Networks

    • 22745 Words
    • 91 Pages

    NETWORKING CONCEPTS Network A network is basically an interconnection of various points to make a connected system e.g Road, Telephone, Social Data Network A computer network therefore refers to an interconnection of computers and other peripherals by use of a communication link Peer to Peer Networks In a peer-to-peer network, all computers are considered equal; they all have the same abilities to use the resources available on the network. Peer-to-peer networks are designed primarily for small to medium local area networks. Strength (Setup Cost is low, simple to manage) Weaknesses (Decentralized, Low security) Client/Server Networks Client/server network operating systems allow the network to centralize functions and applications in one or more dedicated servers. Advantages (Centralized, Scalability, Flexibility, Interoperability, Accessibility) Disadvantages (Cost, maintenance, Dependence one server) Server Types A sever in a network is dedicated to perform some specific task in support of other computers on the network. One server may perform all these tasks, or a separate server may be dedicated to each task. Common server types 1. File server 2. Print server 3. Application server 4. Message server 5. Database server File Server It offers services that allow network users to share files with network .File servers , users can exchange, read, write and manage shared files and the data contained in them. They are designed specifically to support the file services for a network. The file servers include: a) File transfer b) File storage c) File update synchronization d) File archiving File Transfer Network offers file transfer services by typically transferring files between clients and servers. This calls for file security. Every network operating systems has its own level of file security. Higher level use passwords to control system access, File attributes to limit file usage and encryption schemes to prevent data from being obtained by…

    • 22745 Words
    • 91 Pages
    Powerful Essays

Related Topics