My Oracle Support Banner

Unable To Fetch Proper Response From The Telnet Connection (Doc ID 2914661.1)

Last updated on APRIL 08, 2024

Applies to:

Oracle Communications ASAP - Version 7.3.0.0.0 and later
Information in this document applies to any platform.

Goal

We are connecting to the telnet connection and sending MML command using ( telnetConnection.sendln(paramString1); ) and waiting for the prompt with the
( telnetConnection.waitfor(paramString2); ) method. ParamString is the ( > ) but while fetching the response, we are getting previous command response appended with the current response , due to which the requests are getting failed.

Is there any flush method we have to use for clearing the previous response ?

Also, can buffer for waitfor() method be increased ?

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.