Direct can do the same things client/server does. Your program doesn't even change. Just compile with NCGDIRECT defined (see the make rule for netex3f). The difference is you no longer need texisd running, but your program must run as the owner of the database. Direct will also run faster.