Escolar Documentos
Profissional Documentos
Cultura Documentos
Heterogeneous Network: architecture may defer from one system to another system.
Internet is a Heterogeneous type of network.
Protocol is a system of defining the rules and regulation in transferring the data in
networks. We can develop the application based on connection oriented and also
connection less protocols.
It is basic protocol standard for transferring the data. It will have 4 layers.
Network Based Application are developed either for distribution of data or for
exchanging the information.
These Applications can work among the hosts (Systems connected to network) and also
portable on internet also as both are based on TCP/IP protocol.
Applications can be developed for servers and clients but internally it has to depend on
protocols used in servers.
Domain: IT is a logical group of hosts or users. Every host connected to network has to
be part of domain. Example: .com, .org, .net, .gov, .in etc.
DNS (Domain Name System): - It is maintained by ISP. It is a logical name address for
physical number address. It resolves the user friendly name into physical IPAddress.
Within a DNS a name can be mapped to multiple IPAddresses.
TCP/IP Address: It is a 32 bit number used to identify the systems connected in network.
It can be called as Inet Address or Internet Address.
Format: (0-255). (0-255).(0-255).(0-255)
Example: 192.210.55.10
Static IPAddress: - address fixed to identify the host in network.
Loop Back Address: - (127.0.0.1) IT is used to identify the LocalHost. Every host will
two IP Addresses ie., one is assigned to identify host and another is to identify on its own.
It is used to refer to services of our own host.
URL: - Class URL represents a Uniform Resource Locator, a pointer to a "resource" on the
World Wide Web. A resource can be something as simple as a file or a directory, or it can
be a reference to a more complicated object, such as a query to a database or to a search
engine.
Sockets are simply "endpoints" for network connections. Sockets are not "protocol-
oriented" like URL class. You're responsible for entire client-server conversation.
Java has two kinds of socket classes. TCP/IP sockets are "connection-oriented" extra
overhead for reliable data transfer.
A datagram socket is the sending or receiving point for a packet delivery service. Each
packet sent or received on a datagram socket is individually addressed and routed.
Multiple packets sent from one machine to another may be routed differently, and may
arrive in any order. Datagram sockets are "packet-oriented" don't require overhead of
connection setup.
Only step 4 differs from program, depending on the protocol agreed with the server
The UDP protocol provides a mode of network communication whereby datagrams are
sent over the network. DatagramSockets are used for the connection.
A datagram’s arrival, arrival time and order of arrival is not guaranteed. It’s used
whenever information needed to be broadcast periodically