9 years, 5 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

9 years, 5 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 chris padbury 25 Jan 2013

hi, i will check the code you said, and try to give you some guidance and how to use it

Greetings

posted by Ney Palma 25 Jan 2013