[Gambas-bugtracker] Bug #1874: not able to send UDP datagram on local host

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Sep 1 20:30:25 CEST 2020


http://gambaswiki.org/bugtracker/edit?object=BUG.1874&from=L21haW4-

Comment #1 by Benoît MINISINI:

Please use the bugtracker for bugs. If you don't know how to do something, just use the mailing-list.

Anyway, you should always post a full project.

If you use the UdpSocket as a client, you must define TargetHost and TargetPort. Let the Port property to its default value, it is used to bind the socket. If you are a client, you don't want to bind the socket to a specific address or port.

Why do you use the Begin() method? Did you read the documentation of that method?




More information about the Bugtracker mailing list