bind ucharbuf::flags
pass a packetbuf in enetevent if it's data