Note: This issue affects only SoftPAC, and only when using UDP communication handles set to a broadcast address.*
Sending any of the following commands using SoftPAC and a UDP communication handle set to a broadcast address results in a -444, "Error on socket send" message.
- Transmit Character
- Transmit NewLine
- Transmit Numeric Table
- Transmit Pointer Table
- Transmit String
- Transmit String Table
- Transmit/Receive String
*A broadcast address is used to send messages to all hosts on the specified network.
Before transmitting the message, use the set.dst ("set destination") command with Send Communication Handle Command to specify the broadcast address.
All messages will be sent to the specified broadcast address until you change the address with another set.dst command.
For example, the following command sets the destination for messages to port 2001 on all the hosts on network 10.20.30.
nUDPBroadStatus = SendCommunicationHandleCommand(
Opto 22 has resolved this issue and will include the fix in an upcoming release.