Java Socket Programming Flashcards

1
Q

Describe message based communication

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a socket?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What must be established to send and receive TCP/UDP messages?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Describe the relationship between sockets, ports and processes

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an IP address?

A

An address used to identify a host machine on the internet

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a port number?

A

A number that identifies the process within the host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the API used for address resolution in Java?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly