Re: NIST time server - TCPIP problem
| Newsgroups | gmane.comp.hardware.rabbit-semiconductor |
|---|---|
| Message-ID | <[email protected]> |
On 6/26/2014 2:27 PM, [email protected] [rabbit-semi] wrote: > I am trying to implement a web button that will fetch the current time from a NIST time server, with the routine based on the NIST_TIME.C sample code. My code will get the NIST time if that function is called before starting the http handler. And the http handler will work fine until an attempt is made to get the NIST time. With the attached C and HTML code, each time the user clicks the --Test-- button, a line prints in the STDIO window. But clicking the --Get NIST Time-- button kills the browser code. In the C code, a call to the function which gets the NIST time is commented out (about 10 lines from the bottom). If that line is made active, the program will get the NIST time and print it, but then the browser code doesn’t work. Obviously I know nothing when it comes to TCPIP stuff. Please, can anyone help? Look at the #defines in the docs for the # of socket buffers and max sockets. You probably have 1 too few. -- ------------------------------------------ Scott G. Henion, Consultant Web site: http://SHDesigns.org ------------------------------------------