WiShield: server and client in same sketch?

I'm using Ethernet shield now, and my sketch contain server for serving pages and a client, that connects twice a day to another server to synchronize data. With wired ethernet shield all is working perfectly.

But now I'm trying to use WiShield 2.0, and I have found only separate examples for server and client functionality. As I understood, need to recompile library to switch between client and server. Maybe anyone knows is there any possible way to get WiShield work in client and server mode in the same time?