Question from someone not too familiar with win32 programming. Can some one point me how to modify timeout property of TClientSocket ? I use Delphi 7.
So far I start a secondary watch-dog timer which is stopped if connected or keep reset on transmission but I think this is a rudimentary method
I connect to some embedded server I designed and I need someting like this scenario :
- connect and stay connected until disconnect
- send some commands
- receive & process short data as reply on commands
- download more data (here I have some further problems)
- at some point, manually disconnect
Everithing is working somekind, but if on wireless for example, when I try to connect to remote server my program stays (do nothing) and gives me "Async socket error..."
Thanks in advance,
Edi
So far I start a secondary watch-dog timer which is stopped if connected or keep reset on transmission but I think this is a rudimentary method
I connect to some embedded server I designed and I need someting like this scenario :
- connect and stay connected until disconnect
- send some commands
- receive & process short data as reply on commands
- download more data (here I have some further problems)
- at some point, manually disconnect
Everithing is working somekind, but if on wireless for example, when I try to connect to remote server my program stays (do nothing) and gives me "Async socket error..."
Thanks in advance,
Edi