Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TClientSocket

Status
Not open for further replies.

zuzu22

Technical User
May 21, 2009
2
RO
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

 
(correction) ... on wireless when not in range....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top