remote direct memory access C code