recvloop bug in rudp.py is fixed; simulation codes updated