Sybase Question:

How do I interpret the tli strings in the interface file?

Tweet Share WhatsApp

Answer:

The tli string contained with Solaris interface files is a hex string containing port and IP address. If you have an entry

SYBSRVR
master tli tcp /dev/tcp x000204018196c4510000000000000000

Then it can be interpreted as follows:
x0002 no user interpretation (header info?)
0401 port number (1025 decimal)
81 first part of IP address (129 decimal)
96 second part of IP address (150 decimal)
c4 third part of IP address (196 decimal)
51 fourth part of IP address (81 decimal)


So, the above tli address is equivalent to
SYBSRVR
master tcp ether sybhost 1025

Download Sybase PDF Read All 123 Sybase Questions
Previous QuestionNext Question
How to clear tempdb when the tempdb gets filled in Sybase?How can I tell the datetime my Server started?