How to close opened bearer



I am using Dev studio open at application. In this i tried the sample code given for TCP client. By using this code i can able to communicate with my server in the opened socket.But the created socket is not closed. Anyone guide me how close the opened socket.

wip_closeAndClear( wip_channel_t *pt);

Have a look at the WIP development guide where all socket related communications are described.