Difference between revisions of "UDP"
Jump to navigation
Jump to search
(Created page with '== Sending data over UDP == '''Step 1: Allocate a new UDP device.''' :Use udpAlloc to get a device number for a udp device. If allocation fails, the device number returned will ...') |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == | + | == Resources == |
+ | XINU implements UDP as per RFC 768 | ||
− | |||
− | |||
− | |||
− | + | == Debugging == | |
− | + | To enable UDP debugging, uncomment the following line in include/udp.h | |
− | + | //#define TRACE_UDP TTY1 | |
− | |||
− | + | In order to see the trace results you open another console to the second serial port using the router name followed by the number 2. | |
− | + | mips-console router2 | |
− | + | Alternatively TTY1 can be changed to TTY0 resulting in the trace printing on the main console. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 18:45, 17 June 2011
Resources
XINU implements UDP as per RFC 768
Debugging
To enable UDP debugging, uncomment the following line in include/udp.h
//#define TRACE_UDP TTY1
In order to see the trace results you open another console to the second serial port using the router name followed by the number 2.
mips-console router2
Alternatively TTY1 can be changed to TTY0 resulting in the trace printing on the main console.