File modules/wh/wh_queries.c

  $Revision: 1.5 $

Whois query (wh) - connects to a whois server and returns result
Status: NOT REVIEWED, TESTED
Design and implementation by: Marek Bukowy
Note: still not final. Probably SK calls should be moved to the calling routine

Included Files


Global Function WH_sock()

int WH_sock ( int sock, char* hostname, int port, char* query, int maxlines, int timeout )
Calls: SK_getc()modules/sk/socket.c
  SK_putc()modules/sk/socket.c
  SK_puts()modules/sk/socket.c
  bcopy(), bind(), bzero(), close(), connect(), gethostbyname(), socket()
Called by: run_referral()modules/qi/query_instructions.c