Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 10 months ago.
How do I test this (tcp server example)
Hi, perhaps a silly question, but how do I test this? I see that it gets an IP address, and I can ping the IP address, but I can't browse to the IP address using IE or Chrome. Am I missing something obvious?
What I'd like is the ability to reply to an HTTP request.
Question relating to:
1 Answer
11 years, 10 months ago.
hi, maybe you should try this examples in the cookbook
HTTP SERVER: http://mbed.org/cookbook/HTTP-Server
HTTP CLIENT: http://mbed.org/cookbook/HTTP-Client
Greetings
These examples don't use the new EthernetInterface library. There is a good HelloWorld client example for the new library that is easy to test and then adapt. As a server, 'TCP Server Example' ( http://mbed.org/users/NegativeBlack/code/NetworkAPI/wiki/tcp-server-example ) is the closest thing I can find and people say it works, but there is no guidance as to how to test it.
posted by 25 Jan 2013