A personal repository of random information in compensation for a fatigued biological computer
Breaded Electronics / Embedded » Microchip Specific » 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.. http://forum.microchip.com/tm.aspx?m=346502&mpage=1&key=ajax񔽿