very simple SNMP set realization

I've wrote very simple SNMP SET realization (just copypasted and changed a bit a code for SNMP GET operation). At the end it returns value you passed to it.

Let's discuss, maybe this function should return something different?