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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I was just trying a simple mbed example called TCPSocket_HelloWorld. I changed the line that says connect to "mbed.org" on port 80 and made it this way so it connects to a socket opened inside of my PC. I established necessary connections between my board and the computer. Program is as below:
TCPSocket_HelloWorld
As you can see I'm not using DHCP. LED0 and LED1 are in ON state and that means Ethernet connection is on. But LED2 which shows the status of the TCPSocketConnection is off and I can't send data to my PC.
By the way I have hercules program in TCP Server mode listening on 41200 port.
So what's wrong?