mlogger: bugfix for udpserver

With udpserver (-n), use the correct socket call.