Jump to content

LennyKrost

Members
  • Content Count

    6
  • Joined

  • Last visited

Community Reputation

1 Neutral
  1. Hi all, thanks for all suggestions and advice. Problem was solved just maintaining exactly the same code written years ago with old ICS version but with only one change. This change, as suggested by Angus and Remy, was to replace the "TWSocketServer" socket declaration with simply "TWSocket". UDP Server started working again. Next time I'll read the whole documentation before making updates. 😄
  2. Hi Remy. Thanks fior your reply. This code has been working perfectly for at least 10 years. Recently I had to move to most recent ICS componets for Delphi 2007 because TLS 1.0 is not supported by most OF systems. I just had to recompile the project after installing new componets; all things “seemed” to work as before, but it wasn’t. As you can see, in socket creation I set Proto property to “udp” and compiler does not report any warning. I’m going to Office and change TWSocketServer into TWSocket and will per You know if it works. Thanks for the help and suggestions. Regards. Mario.
  3. And this is the code of Execute method of the thread. This was full working with ICS V7. Now with ICS 8.71 the OnDataAvailable event is not triggered anymore.
  4. This is the function that creates the UDPServerSocket
  5. Hi Remy, thanks for your interest. I'm going to explain with the current code. I'm sorry. CleanTalk always repeat me that all code i write here is seen as SPAM and does not post my replies. It's so fristrating. How can I send code snippets?
  6. Hi All, I'm using ICS 8.71. Before upgrading I was using ICS V7 Gold. I have problems iwith UDP server sockets created inside TThread objects. I was using ThreadDetatch and ThreadAttach to link socket queue to thread message queue. Now it seems that this procedure does not work anymore. OnDataAvailable event does not trigger anymore. How could I fix this? Thanks in advance. Mario
×