Java Socket Programming Flashcards
1
Q
Describe message based communication
A
2
Q
What is a socket?
A
3
Q
What must be established to send and receive TCP/UDP messages?
A
4
Q
Describe the relationship between sockets, ports and processes
A
5
Q
What is an IP address?
A
An address used to identify a host machine on the internet
6
Q
What is a port number?
A
A number that identifies the process within the host
7
Q
Briefly describe how TCP/UDP messages are sent and received?
A
Messages are sent to the pair of addresses (IP address and port number)
8
Q
What is host name resolution?
A
The process through which an assigned host name is converted or resolved to its mapped IP address
9
Q
What is the API used for address resolution in Java?
A