Harold is writing a client-side socket program that will create a TCP connection to a remote server
to retrieve data. What function should Harold use to create this connection?
A.
SOCK_SRVADR
B.
SOCK_TCP
C.
SOCK_DGRAM
D.
SOCK_STREAM
Explanation:
Harold is writing a client-side socket program that will create a TCP connection to a remote server
to retrieve data. What function should Harold use to create this connection?
Harold is writing a client-side socket program that will create a TCP connection to a remote server
to retrieve data. What function should Harold use to create this connection?
A.
SOCK_SRVADR
B.
SOCK_TCP
C.
SOCK_DGRAM
D.
SOCK_STREAM
Explanation: