arduino wifi shield connection problems

hi guys, I need to connect my arduino wifi shield to a host (like for giving the data of index file.
i've tried to do some researches on the web and on this forum, but none solution has worked.
i've tried also the examples of wifi client and server inside arduino's IDE.
ty for help me in advance

Something to check :
Is your wifi shield upgraded ? No ? Then try an older IDE ... For me it doesn't work with the 1.0.5 but works with the 1.0.3 when testing the example wifi server program

Then I follow the guideline of the wifi shield firmware upgrading (not too difficult) and now it works well with 1.0.5 and newer IDE