add recv flag,fix ipc bug

1.add recv flag support
2.fix ipc close plug crumble