How can I transfer data from RCM4000 through network in TCP/IP protocol?

I suggest that you download Dynamic C and browse the Samples cpip folder.

I have tried ACTIVE.C in TCP/IP folder,but an error is shown.ie;
ERROR: Cannot resolve "the site that I am giving" into an IP address
.
what should I do to clear it?

can you please provide details of which program to be referred for the same.I tried UDP client in TCP/IP folder.It worked out well .Now I want to send data using TCP/IP protocol using TCP sockets.