Closed rfaucett closed 9 years ago
Rough idea below.
Check if ep is connected (eq->ep_dest != NULL). If not return FI_EPNOTCONNECT
If (flags & FI_WRITE)
ep->ep_fid.msg.send = usdf_dgram_send_shutdown (returns error when called)
sendv
if (flags & FI_READ)
ep->ep_fid.msg.recv = usdf_dgram_recv_shutdown (returns error when called)
recv
Don't think it's necessary to send msg to remote peer to notify shutdown event.
we can't overwrite the fn calls like that because they live in a shared structure
shutdown now no longer applies to dgram
figure out what to do with dgram shutdown