now allows reuse of addr
fixed a bug of recvMsg not breaking lines