UDP API Definition: Difference between revisions

Line 21: Line 21:
* ''int4'' - 4 byte Integer (in string representation)
* ''int4'' - 4 byte Integer (in string representation)
* ''boolean'' - true or false - use '1' for ''true'', '0' for ''false''
* ''boolean'' - true or false - use '1' for ''true'', '0' for ''false''
* ''str'' - String (NOTE: might be as long as 5000 bytes !!!, but via udp api never extend 1400 bytes)
* ''str'' - String (UDP packet length restricts string size to 1400 bytes)
* ''hexstr'' -- a hex representation of a decimal value, two characters per byte.  If multiple bytes are represented, byte one is the first two characters of the string, byte two the next two, and so on.


=== Content Encoding ===
=== Content Encoding ===
MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.