Topic 2 Flashcards
TCP
(Transmission Control protocol) A reliable data flow between two computers by providing a point-to-point connection based channel for application
UDP
(User datagram protocol) uses independent data packets called datagrams to transport messages between applications
Internet address(IP)
Internet protocol a 32-bit quantity that identifies a machine connected to the internet
DomainName System(DNS)
translates an internet address in doted string format to the dotted numerical version
InetAddress
in java.net it encapsulates an internet address
Networking
The capability to make a connection from your application to a system over a network
URLs
Uniform Resource Locators, a pointer to a web resource which can be anything from a file to an object
Sockets
is one endpoint of a two-way communication link between two programs running on the network
accept()
listens for a connection to be made to this socket and accepts it
Socket classes
used to represent the connection between a client program and a server program
close()
closes this socket
getInetAddress()
returns the local InetAddress object of this server socket
getLocalPort()
returns the port on which this socket is listening as an integer
getInputStream()
returns an input stream for this socket
getLocalAddress()
Gets the local address to which the socket is bound