
UDI IPC Methods for UNIX Hosts
Universal Debugger Interface Specification
5-13
tip_pid
The UNIX PID of the TIP. For AF_UNIX
sockets, this is used to signal the TIP
for
UDIStop
functionality (see signals
below). For other address family sockets,
this parameter is ignored.
tip_id
This uniquely defines the UDI connection
for this TIP. It is used by the DFE in
the
UDIDisconnect
message.
errno
When the errno is negative, the TIP
socket connection must remain open and
the DFE must send a
UDIGetErrorMessage
request to get the error text. See
Appendix A for descriptions of
UDIErrorTryAnotherTIP
and
UDIErrorConnectionUnavailable
.
DFE
The DFE parameter has the same semantics
as the DFE parameter in the
UDICapabilities
call; it indicates to the
TIP what version of UDI the DFE prefers,
i.e., the latest version number the DFE
understands.
Description
The first message on the socket connection from the DFE to the TIP must be a
UDIConnect_12 message. This is because older TIPs will not know how to
respond to later vintage UDIConnect messages and the DFE cannot tell the
version of the TIP until it sends some UDIConnect message. This
complication is handled in the following manner:
If the TIP is a pre-1.4 TIP, the TIP acts on the UDIConnect_12 message and
sends a UDIConnect_12 response. This concludes the UDIConnect activity for
older TIPs.
Similarly, if the TIP is 1.4 or later, and the TIP gets a UDIConnect_12
message from a pre-1.4 DFE (as detected in the DFEIPCId), the TIP acts on
the UDIConnect_12 message and sends a UDIConnect_12 response. . This
concludes the UDIConnect activity for older DFEs connecting to newer TIPs.