meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
courses:ct30a5002:ex2 [2014/09/29 19:20]
julaakko [Task for week 42]
courses:ct30a5002:ex2 [2014/09/29 19:21]
julaakko [Task for week 42]
Line 17: Line 17:
     - What is the packet size limit for UDP? What other limits there can be?     - What is the packet size limit for UDP? What other limits there can be?
   - **Byte ordering (32bit vs 16bit vs 8bit)**   - **Byte ordering (32bit vs 16bit vs 8bit)**
-    - Pack numbers 715517, 53850 and 42 into one packet, send (''​sendto()''​) and receive (''​recvfrom()''​) it using UDP (use the {:​courses:​ct30a5002:​udpexample2014.tar.gz|udpexample}}),​ do it by using+    - Pack numbers 715517, 53850 and 42 into one packet, send (''​sendto()''​) and receive (''​recvfrom()''​) it using UDP (use the {{:​courses:​ct30a5002:​udpexample2014.tar.gz|udpexample}}),​ do it by using
       - Appropriate integers (waste no space!) in __correct__ format       - Appropriate integers (waste no space!) in __correct__ format
       - As char string with null byte (''​\0''​) as separator between them. Remember to terminate (why?).       - As char string with null byte (''​\0''​) as separator between them. Remember to terminate (why?).