o Sun OS, UTS, AIX etc. But, when the same program is run with HP UX on the other end, we are unable to receive the response from the HP UX box (B.11.31 O/S).
sSocket = socket(AF_INET,SOCK_STREAM,0);
connect(sSocket,(struct sockaddr *)&sin,sizeof(sin);
ierr = read(sSocket,szBuffer,BUF_LEN-1);
When the read is called, we get junk messages like this
Message received :ÿý$
Message received :ÿýÿþÿý
Message received :ÿü!ÿû
This code was working for all the other OSs like I stated earlier. Can somebody explain why this is happening. Note: We are able to login to HP box manually using telnet.