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'm currently working on a TCP/IP connection between a mbed and PC. The mbed is used as a Client who sends "Hello Server" everytime a button is pressed.
Actually, I'm not that experienced in working with sockets and so there are some things i don't know how to do.
1) What do I have to do with the TCPSocketEvents TCPSOCKET_CONNECTED and TCPSOCKET_ACCEPT?
2) How can i tell the socket to send data when the button is pressed? How can I make the TCPSOCKET_WRITEABLE event occur?
I have published what I've written so far TCPClient.