Nie Wiem gdzie popelaniam blad wszystko sie kompiluje prawidlowo tylko jak w kliencje wpisuje www i daje ok to server nie reaguje nie otwiera strony :?
Klient
var adres:string;
begin
if inputquery ('Otwórz stronę', 'Wpisz adres docelowy: ', adres) then clientsocket3.socket.SendText ('&gotourl '+adres);
Server
if copy (s, 1, 9)='&gotourl ' then
begin
GetMem (TPC, Length (s)-2);
StrPCopy (TPC, extract (s, 10, Length (s)));
ShellExecute (0, 'open', TPC, '', 'c:', 1);
FreeMem (TPC);
socket.sendtext('Strona '+TPC+' została otwarta');
end;
Klient
var adres:string;
begin
if inputquery ('Otwórz stronę', 'Wpisz adres docelowy: ', adres) then clientsocket3.socket.SendText ('&gotourl '+adres);
Server
if copy (s, 1, 9)='&gotourl ' then
begin
GetMem (TPC, Length (s)-2);
StrPCopy (TPC, extract (s, 10, Length (s)));
ShellExecute (0, 'open', TPC, '', 'c:', 1);
FreeMem (TPC);
socket.sendtext('Strona '+TPC+' została otwarta');
end;