This preview shows page 1. Sign up to view the full content.
Unformatted text preview: another host, and compare with TCP (question1). a) Suppose you run UDPClient before you run UDPServer. What happens? Why? Answer: UDPClient doesn't establish a TCP connection with the server. Thus, everything should work fine if you first run UDPClient, then run UDPServer, and then type some input into the keyboard. b) What happens if you use different port numbers for the client and server sides? Answer: If you use different port numbers, then the client will attempt to establish a TCP connection with the wrong process or a non-existent process. Errors will occur....
View Full Document
- Summer '10