Use C99 portable definition to print 64 integers
Should be da->attr not da->type
Use consistent argument names for connection API callbacks