implemented epquery and epinfo packet type