Hey, Im having a problem where I connect to 127.0.0.1 on port 666 using the function in button1 then onconnect i get a message saying it connects just fine. Now button2 sends the character 'F' and its supposed to get a bunch of data back. Well the TcpClient1Recieve function never gets called... why?
if i do
telnet 127.0.0.1 666
it works just fine.
Now what am i doing wrong? and please dont tell me to work around it by using indy or whatever else.
procedure TForm1.Button1Click(Sender: TObject);
procedure TForm1.TcpClient1Receive(Sender: TObject; Buf: PAnsiChar;
var DataLen: Integer);
procedure TForm1.TcpClient1Connect(Sender: TObject);
procedure TForm1.Button2Click(Sender: TObject);