[Gambas-user] UDPSocket.Broadcast property ...

T Lee Davidson t.lee.davidson at gmail.com
Fri Sep 4 03:19:13 CEST 2020


On 9/3/20 4:00 AM, Hans Lehmann wrote:
> Hello,
> 
> I have problems understanding the UDPSocket.Broadcast property. In the
> net I found "UDP broadcasts can be used to allow client and server to
> find each other in a subnet without first knowing which hosts they are
> running on. For this purpose the server opens a socket that listens on a
> certain port. The client can then send a UDP broadcast on this port to
> all hosts in the subnet, to which the server can respond. "
> 
> Now the exciting question: How do I implement this approach in Gambas
> with a UDP client?
> 
> With kind regards
> 
> Hans

Here's a project that might help you with some code examples.


-- 
Lee
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udpbroadcast-0.0.1.tar.gz
Type: application/gzip
Size: 12992 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20200903/ac437c3c/attachment.gz>


More information about the User mailing list