TCPIP Stack Customisation

C Notes:

Global Variables (I expect this is not best practice but eventually I got to the whatever the #^%#$ works stage):

Create your own H file and add to the project.  Add an include to it somewhere. ie in tcpip.h

Use 'extern WORD variablename;' to declare the var in the h file.

Create a matching .c file, with an include to the h file you included the above h file in, ie to this c file add '#include "tcpip.h"

In this c file add matching declarations ie 'WORD variablename'

Bit of discussion on Javscript checking if server responded..