#1 2015-03-24 13:38:50

nirnir
Member
Registered: 2013-11-11
Posts: 66

UDP protocol

Can the library be used also for simple client/server UDP communication ?
If yes , which classes should be used ?

Offline

#2 2015-03-24 15:11:39

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,659
Website

Re: UDP protocol

The TCrtSocket class, as defined in SynCrtSock, can be used for UDP communication.
Just use cslUDP when binding the socket.
(we already use it for that in production, but with non Open Source code)
See http://synopse.info/files/html/api-1.18 … TCRTSOCKET

But you would have to write the server TThread class, depending on your process.
There is no simple client/server components built-in.

Offline

Board footer

Powered by FluxBB