add server.c and client.c

Signed-off-by: robin.he <robin.he.ztto@gmail.com>