Operating System - HP-UX
1833776 Members
2266 Online
110063 Solutions
New Discussion

Telnet session not responding in HP-UX

 
Dhanapal
New Member

Telnet session not responding in HP-UX

I have written a client socket code using C prog in NCR Unix version 3.0 ,to establish the telnet connection with HP-UX B.11.31 . The code uses the port 23 to make a telnet connection . GDB confirms that socket descriptor assigned with positive value(Eg:6,7,9)after making socket() call . connect() call is also succeed .. after this step , code is having logic to capture the banner message and wait for login prompt appears in the screen .. unfortunately , the code is getting into 'infinite loop' by receiving the junk characters from telnet session and looking for login prompt in ... the same code is running fine and able to make telnet connection in other platforms like AIX,solaris,uts etc... Kindly suggest us what shuld be the changes required to be done in HP-UX platform to access the telnet programmatically ??.

-Dpal