i need help with decoding the response send by the Mikrotik after a successful login via Telnet. Supposedly i’ll get response after typing “ip address print”, but i get strange characters for the response. i get this response “p [9999B [9999B Z [6n”.

i have this code for printing the response.

Question:
What type of response does Mikrotik send after a successful login via Telnet, is it String or Char or ???
Badly need help with this one.