please, in title should be key words or title of your problem. Not whole question.
Can you please edit it? It helps others to search their problem more effectively.
please, do you look at the thread?
Client- Server Connection using FRDMk64f
there are some examples at c:\Freescale\Freescale_MQX_4_1\rtcs\examples\shell
or you can inspire by demo (in case of KSDK) C:\Freescale\KSDK_1.1.0\tcpip\rtcs\examples\eth_to_serial
You can also look at FNET Embedded TCP/IP Stack which can help you as well and supports FRDM-K64F.
The FNET TCP/IP stack is a free, open source, dual TCP/IPv4 and IPv6 Stack for building an embedded communication software on 32bit MCUs.
No underlying RTOS is required, although it can be used with it.
thanks for your reply. its very useful to me. and also i tried to edit my post but i cant write anything in message body that's why i typed all detail in tittle.
i want to listen 2port simultaneously. can you give any solution for this..?
i tried example rtcs project code but i cant listen two port at the same time.after one client connected only it was processing another one. how to listen 2port or how to initialize 2port at a same time
err = select(2,&rfds,NULL,0);
test_tid = _task_create(0, TEST_TASK_INDEX, (uint32_t) &task_p);
if (tx_tid == MQX_NULL_TASK_ID)
fprintf(stderr, "Fatal Error 0x%X: Unable to create transmit task.", _task_get_error());
actually "select(2,&rfds,NULL,0);" in this function was waiting upto incoming connection.
after that only its creating TEST_TASK_INDEX, so how to avoid that problem. how to create another task without help of current running task. i am new for RTOS now only i am learning, i am waiting for your reply..
Retrieving data ...