internet & delphi


Posted by thatsmej on December 31, 2000 at 16:44:40:

cs1.Active := false;
cs1.Host := txthost.text;
cs1.Port := port;
cs1.Active := true;
cs1.Socket.SendText('halllo');
cs1.Socket.Close;
what is wrong with this code?
i tryed to make a portscanner.
i get a error code like
'windows api error connect'
can someone help me?


Related Articles and Replies: