Difference between revisions of "TCP"

From Embedded Xinu
Jump to navigation Jump to search
 
Line 1: Line 1:
 
== Examples ==
 
== Examples ==
 
[[TCP Echo Test]]
 
[[TCP Echo Test]]
 +
 +
 +
== Debugging ==
 +
To enable TCP debugging, uncomment the following line in include/tcp.h
 +
//#define TRACE_TCP    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.
 +
  
 
== Resources ==
 
== Resources ==
 
RFC 793
 
RFC 793

Latest revision as of 18:46, 17 June 2011

Examples

TCP Echo Test


Debugging

To enable TCP debugging, uncomment the following line in include/tcp.h

//#define TRACE_TCP     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.


Resources

RFC 793