a simple server frame in server role with cpp