ping ipc sample improvement