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, ER‐
28              ROR, 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 re‐
40                     sponse that does not conform to the RFC. A detailed error
41                     message is returned under the error key.
42

BUGS, IDEAS, FEEDBACK

44       This  document,  and the package it describes, will undoubtedly contain
45       bugs and other problems.  Please report such in the category  ident  of
46       the  Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].   Please
47       also report any ideas for enhancements you may have for either  package
48       and/or documentation.
49
50       When proposing code changes, please provide unified diffs, i.e the out‐
51       put of diff -u.
52
53       Note further that  attachments  are  strongly  preferred  over  inlined
54       patches.  Attachments  can  be  made  by  going to the Edit form of the
55       ticket immediately after its creation, and  then  using  the  left-most
56       button in the secondary navigation bar.
57

KEYWORDS

59       ident, identification, rfc 1413
60

CATEGORY

62       Networking
63
65       Copyright (c) 2004 Reinhard Max <max@tclers.tk>
66
67
68
69
70tcllib                               0.42                             ident(n)
Impressum