1 - how to Send message strings? this is correct way?
FClient := TCrtSocket.Open('192.168.1.255', '12001', cslUDP);
if FClient.SockIn = nil then
FClient.CreateSockIn;
if FClient.Sock < 0 then
begin
ShowMessage('Socket not found!');
exit;
end;
FClient.SockSend(['Teste aaaaaaaaaaaaaaa']);
FClient.SockSendFlush; <<<< I neeed really this??????
lookin on wireshark i see :
41 2.147148 192.168.1.72 192.168.1.255 LLC 65 U F, func=UA; DSAP ISO Network Layer (OSLAN 2) Individual, SSAP 0x64 Response
Why Wireshark shows LLC instead UDP???????
2 - how to Send message steams?
3 - how to treat exceptions?
]]>Can anyone here post a simple sample of client and server using this protocol??
Thanks
]]>