changed a few function parameters in rudp.c so that the code would run on mac oxs darwin 13 kernel. hopefully it added portability to more machines.