I have an Ethermega which monitors several switch positions.
The status of these switchs is sent to a webserver.
Clients can connect are read the results.
I'm having trouble with the webserver portion. After several days or minutes the webserver stops working. The rest of the sketch still functions.
Is there a problem with the wiznet W5100 or my code?
Ethernet issue
-
- Posts: 71
- Joined: Fri Sep 21, 2012 7:22 am
Re: Ethernet issue
Probably going to need to see your code.
The wiznet chip has some minor issues, and one of them is an issue with it not closing sockets, and since it only has 4, it can run out of them.
The wiznet chip has some minor issues, and one of them is an issue with it not closing sockets, and since it only has 4, it can run out of them.
Re: Ethernet issue
how can i fix this problem with the sockets?
-
- Posts: 71
- Joined: Fri Sep 21, 2012 7:22 am
Re: Ethernet issue
Going to have to see your code, it depends on how you are implementing the web server.
Is it a web server that you are trying to code?
I have managed to get a web server, UDP, NTP all working on one sketch, so it can be done relatively easy.
Is it a web server that you are trying to code?
I have managed to get a web server, UDP, NTP all working on one sketch, so it can be done relatively easy.