If UDP is not being used, ->event returns true or false based on success. If UDP is used, ->event returns null. This can probably be fixed by seeing if ->packets_sent == 1 after the call to ->eventUdp, as that indicates success (and yes, I know UDP is send-and-pray).