release an UDP or TCP connexion with wifi shield R3

hi,
i want to connect my arduino uno to my pc through the internet (sending and receiving data), i use a wifi shield R3,
but i can't release an UDP or TCP connection, there is a software problem, i don't find the right code to do that...
So i need some help......
Thx

Can you successfully run the standard examples that are related to this shield?
Make sure those run fine, and that you understand how you should use the shield and accompanied lib's.
Your problem is :

i can't release an UDP or TCP connection

. are we talking about WiFi.disconnect() ?.