Created callback handling for send/receive