MadOverRAD 0 Posted June 4 Hello fellow Delphi enthusiasts! I'm currently maintaining a project written in Delphi 11. I've encountered a class called TIPSocket (possibly from Indy, according to my colleague) that's apparently been causing some issues in the project. I can't access the definition of this class, as the project has undergone some refactoring recently, and the class declaration seemingly got lost in the process. If anyone here has any useful info on what this class represents (and how), or knows how I could substitute it with my own code, I'd greatly appreciate some help. Even some info on which library contains this class would be invaluable, since we're not 100% sure it's from Indy, it's just an educated guess. Let me know if any additional info is needed. Thanks in advance for any help regarding this issue. Share this post Link to post
Virgo 18 Posted June 4 TIPSocket is part of VCL (unit Sockets). Indy classes are usually with names like TId* 1 Share this post Link to post
MadOverRAD 0 Posted June 4 Thank you, it seems our guess wasn't so educated after all 😉 Share this post Link to post
MadOverRAD 0 Posted June 4 19 minutes ago, Virgo said: TIPSocket is part of VCL (unit Sockets). Indy classes are usually with names like TId* One more thing if you don't mind, We're not able to include VCL.Sockets in the "uses" clause. Is it called something else in the source code? Could you provide a link to any site where we can find more information on this? Share this post Link to post
Virgo 18 Posted June 4 Seems to be Web.Win.Sockets ? So not actual VCL I guess. Our newest Delphi version is XE, so no namespaces. You can check http://docwiki.embarcadero.com/CodeExamples/Alexandria/en/TTcpServer_(Delphi) But then, according to it was last included in Delphi XE. So I do not know, why that TTcpServer sample includes it with namespaces. Share this post Link to post
MadOverRAD 0 Posted June 4 Thank you very much! I will look into this. Have a great day 🙂 Share this post Link to post
DelphiUdIT 181 Posted June 4 To include Socket components, you must add component through menu "Component/Install Packages" and search at bin directory (like in the images). The socket package is deprecated, but it is still present. Share this post Link to post