Displaying 1 result from an estimated 1 matches for "sockethandl".
Did you mean:
sockethandle
2005 Sep 30
4
C Manager Interface Client
...so please bear with me:
I am trying to write a C manager interface client to interface with our CRM software. I am having an issue while reading the data from the manager interface.
I am writing this in C and I have the following code:
while(1)
{
bzero(buffer,sizeof(buffer));
readCode = read(socketHandle,buffer,sizeof(buffer));
if(readCode < 0)
{
printf("ERROR READING FROM SOCKET\n");
exit(0);
}
printf("%s",buffer);
}
This prints out everything just as connecting to the telnet session would print it out (I do the logging in elsewhere, that isn't the problem here...