Hello all!
There is bug in the TCP/IP example (msp430-libc/examples/tcpip) that
lead to problem where the webpage can load only once. The fix attached
to this message.
Victor.
*** tcpip.c.orig Tue Dec 10 13:46:32 2002
--- tcpip.c Sat Mar 22 16:33:48 2003
***************
*** 160,171 ****
}
}
}
! }
! else if (TCPTimer > FIN_TIMEOUT)
! {
! TCPStateMachine = CLOSED;
! TCPFlags = 0; // reset all flags, stop
retransmission...
! SocketStatus &= SOCK_DATA_AVAILABLE; // clear all flags but data
available
}
switch (TCPStateMachine)
--- 160,171 ----
}
}
}
! else if (TCPTimer > FIN_TIMEOUT)
! {
! TCPStateMachine = CLOSED;
! TCPFlags = 0; // reset all flags, stop
retransmission...
! SocketStatus &= SOCK_DATA_AVAILABLE; // clear all flags but
data available
! }
}
switch (TCPStateMachine)