You are not logged in.
Pages: 1
I need use UDP communication, but i dont see any sample about your use?
Can anyone here post a simple sample of client and server using this protocol??
Thanks
Offline
Can you post some few lines of code about:
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?
Last edited by mrbar2000 (2016-10-28 19:02:47)
Offline
Pages: 1