I have a MCB2300 board from Keil. I am trying to make my ARM as active socket. since so i was looking into sample program which given to me. From the document
This program is a LEDSwitch Server example. It shows you how to control embedded device from C++ application using TCP/IP connection. This can be either an ethernet, SLIP or PPP link. This example opens an UDP and TCP port for listening and waits for commands coming from PC Client or another eval-board client application. The commands are used to control LED diodes to switch them on and off. In order to run this example, you need to set the network parameters to match your local area network. To test this example, run windows application LEDSwitch and type in the ip address of your Embedded LEDSwitch Server into "Board IP" edit box. Type also the number of transfer port into "Transfer port" edit box. Select one of transfer protocol (TCP or UDP). When the P2 value in windows application is changed, this value is send to eval-board and the LED on board should set as you specified in windows application. The same example can be tested also with another eval-board Client connected to the same LAN.
from this i got some confusion that
The commands are used to control LED diodes to switch them on and off.
what are commends and from where they have to given.
Then
To test this example, run windows application LEDSwitch and type in the ip address of your Embedded LEDSwitch Server into "Board IP" edit box. Type also the number of transfer port into "Transfer port" edit box. Select one of transfer protocol (TCP or UDP)
whats that windows program LEDSwithch? then where i have to type the ip address into "Board IP", and the "Transfer port"?
However From this my ARM board gonna be waiting for client PC's call and may respond after get the call. But i want to make my ARM as active socket. How to do this? Please Help me