> > Whats wrong with this picture ? > > printf("res_query returned %d\n"); Thanks a lot for the quick answers people. I think I'm gonna go to sleep now. Tony S Network janitor with brown paper bag on head