I agree with what you stated above, and I apologize for not mentioning that we will prepare the datagram while keeping the maximum MTU in mind. The datagram size will be less than the maximum MTU. I had two queries following that:
What are the pros and cons of using receive and receiveMessage, and when each should be used?
We understand that in the case of receiveMessage, we will only receive nil data if some kind of error has occurred. Howerver if we use receive - in what situations can the data be nil?
Topic:
App & System Services
SubTopic:
Networking
Tags: