how to send packet using router in rcm4000 using dynamic c?

rcm4000

I assume you are talking about a tcp packet. See Samples\TcpIp\active.c.

I also recommend you read the first few chapters of Volume 1 of the TCPIP user manual in the Support Documentation section of the Digi website.

No,i am ask about udp protocol…