ryan_sabarre
asked on
sending/recieving text in ClientSocket or ServerSocket
How can i send/recieve text in ClientSocket or ServerSocket.
can i have a sample source code for this
can i have a sample source code for this
U must set the host/address Port/service depend on your target!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you for the code
E.g.
procedure TForm1.ClientSocket1Read(S
Socket: TCustomWinSocket);
var StrReceived:String;
begin
StrReceived:=Socket.Receiv
//Process with StrReceived
end;
procedure TForm1.Button1Click(Sender
begin
ClientSocket1.Socket.SendT
end;
Assume you drop the components need on Form1!