this is actually blatant copy&paste from mcon recv(), I'll fix both places