1ident(n)                Identification protocol client                ident(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ident - Ident protocol client
9

SYNOPSIS

11       package require Tcl  8.3
12
13       package require ident  ?0.42?
14
15       ::ident::query socket ?callback?
16
17_________________________________________________________________
18

DESCRIPTION

20       The  ident package provides a client implementation of the ident proto‐
21       col as defined in RFC 1413 (http://www.rfc-editor.org/rfc/rfc1413.txt).
22
23       ::ident::query socket ?callback?
24              This command queries the ident daemon on the remote side of  the
25              given  socket,  and returns the result of the query as a dictio‐
26              nary.  Interpreting the dictionary as list the  first  key  will
27              always  be  resp-type,  and  can  have one of the values USERID,
28              ERROR, and FATAL.  These response types have the following mean‐
29              ings:
30
31              USERID This  indicates  a successful response. Two more keys and
32                     associated values are returned, opsys, and user-id.
33
34              ERROR  This means the ident server has  returned  an  error.   A
35                     second  key  named  error is present whose value contains
36                     the error-type field from the server response.
37
38              FATAL  Fatal errors happen when no ident server is listening  on
39                     the  remote  side,  or  when  the  ident  server  gives a
40                     response that does not conform to  the  RFC.  A  detailed
41                     error message is returned under the error key.
42

KEYWORDS

44       ident, identification, rfc 1413
45
47       Copyright (c) 2004 Reinhard Max <max@tclers.tk>
48
49
50
51
52ident                                0.42                             ident(n)
Impressum