WinSock and Delphi?
I'm searching for tutorials for Delphi about how to use WinSock in Delphi 2005. Before i've used the Indy10 TCP-component, but would like to learn about WinSock. Someone who could lead me on the right path? :-) Is it at all a good idea to combine WinSock and Delphi? I know Java and C++, so maybe WinSock works better with one of those? What I like about Delphi, is that GUI's is a piece of cake:) Regards, Søren Riis
Søren RiisDenmark
Hi Riis,
With the majority of Delphi Winsock code, it's not going to be that much different from C++ to be perfectly honest. There used to a site which gave you some examples/tutorials, but I was unable to locate it (it's probably gone down). I do believe that the help section in delphi gives some examples. I haven't programed with Winsock in Delphi for a while, so I can't be of that much help.
Oh yeah, what you need to do is include 'Winsock' in the uses section to utilize the winsock library. Make sure you have 'Windows' included as well (which it should be if you're using GUI's). Sorry I couldn't be of much help, but hopefully I've pointed you in the right direction?
Regards,
GCS584
With the majority of Delphi Winsock code, it's not going to be that much different from C++ to be perfectly honest. There used to a site which gave you some examples/tutorials, but I was unable to locate it (it's probably gone down). I do believe that the help section in delphi gives some examples. I haven't programed with Winsock in Delphi for a while, so I can't be of that much help.
Oh yeah, what you need to do is include 'Winsock' in the uses section to utilize the winsock library. Make sure you have 'Windows' included as well (which it should be if you're using GUI's). Sorry I couldn't be of much help, but hopefully I've pointed you in the right direction?
Regards,
GCS584
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement