I'm trying to use the GetData method in the TCP-component on the Internet tab in Delphi 3, but it doesn't work. ´Here is a sample of my code:
procedure TForm1.Button1Click(Sender: TObject);
tcp2.GetData(data) <--- that doesn't work!
tcp2 is a new instance of the tcp component, the firt instance of it I used for the listen procedure. It said in the Delphi help that I should create a new instance of it.
I would appreciate if someone could answer this question, but I nearly don't have any points, so im setting it to very low.