Pelle wrote:[color=blue]
> Hello all,
>
> I'm experiencing weird behaviour of _getts. I've written a rather
> simple testclient (console-based) for an OPC-Server. On the first call
> of _getts after a connection, the function always returns immediately,
> returning an empty string. Every subsequent call to _getts is
> successful as long as I don't disconnect and reconnect. However, I
> can't identify any code in the (re-)connect-section that might cause
> this behaviour.[/color]
This _getts function (as its underscore shows) is not a standard C++
function. Furthermore standard C++ has no support for keyboard or keyboard
buffers. Unfortunately you will need to ask this question in a group
dedicated to the OS/library giving _getts. This group is for C++ _language_
issues as it is written in the welcome message:
http://www.slack.net/~shiva/welcome.txt
--
Attila aka WW