Saturday, January 7, 2012

Java Basic Networking

Wiki links
Java Networking

The Internet is composed of millions of computers, located all across the globe, communicating and transmitting
information over a variety of computing systems, platforms, and networking equipment.
The term network programming refers to writing programs that execute across multiple devices (computers),
in which the devices are all connected to each other using a network. Each of these computers
(unless they are connecting via an internet) will have a unique IP address.IP addresses are 32-bit numbers,
containing four octets (8 bit numbers) separated by a full stop (e.g. 192.168.156.61).
In object-oriented programming, a protocol or interface is a common means for unrelated objects to communicate
with each other. These are definitions of methods and values which the objects agree upon in order to cooperate.
The java.net package provides support for the two common network protocols:
1.TCP: TCP stands for Transmission Control Protocol, which allows for reliable communication between
two applications. TCP is typically used over the Internet Protocol, which is referred to as TCP/IP.
2.UDP: UDP stands for User Datagram Protocol, a connection-less protocol that allows for packets of
data to be transmitted between applications.


0 comments:

Post a Comment

Tu comentario será moderado la primera vez que lo hagas al igual que si incluyes enlaces. A partir de ahi no ser necesario si usas los mismos datos y mantienes la cordura. No se publicarán insultos, difamaciones o faltas de respeto hacia los lectores y comentaristas de este blog.