Could you be a little bit more detailed about your project? I mean a server and a client is a very open subject, so I would like to know exactly what you are trying to do so my answer can be a little bit more accurate.
Anyhow, I found this example online, maybe it helps:
Let us know,
Hi Peter,Thank you for your Answer.This example is very helpful for me.I could make.