首页 > 试题广场 >

Install and compile the Java p

[问答题]
Install and compile the Java programs TCPClient and UDPClient on one host and TCPServer and UDPServer on another host.
a. Suppose you run UDPClient before you run UDPServer. What happens? Why?
b. Suppose you run TClient before you run TCPServer. What happens? Why?
c. What happens if you use different port numbers for the client and server sides?

这道题你会答吗?花几分钟告诉大家答案吧!