Fixed #5 Implemented sendStruct for Send func