Sei sulla pagina 1di 5

JAVA

 INTERNET PROTOCOL ADDRESS (IP)


 An address uniquely identifies a particular object

 INTERNET
 A global network of computers connected together
in various ways.

 PROTOCOL
 Each type of communication requires a specific and
unique protocol
 File Transfer Protocol (FTP)
 Allows you to transfer binary files over the Internet
 PORT 21

 HypeText Transfer Protocol (HTTP)


 Used to transfer HTML documents on the Web
 PORT 80
 CLIENT
 Machine in need of some type of information

 SERVER
 Machine storing information and waiting to give it
out

 public Socket Accept ()


 Causes the server to wait and listen for client
connections, then accept them.
 public void join group()
 Join a multicast group on the specified address.

 public void leave group()


 Leave a multicast group on the specified address.

 public void send()


 An inherited method from the Data Socket Class.
Sends variable from the socket.

Potrebbero piacerti anche