Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Sends an UDP data message.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Socket | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
SocketID | The socket ID received by Socket.Connect function. | $sock |
IP | The target IP or name. | "192.168.2.10" |
Port | The target port to send to. | 9000 |
Text | The text to send in hex encoding. | "48656C6C6F" |
Returns the number of bytes written or an error message.
Write some text:
MBS( "Socket.SendMessageHex"; $sock; "48656C6C6F" )
This function checks for a license.
Created 18th August 2014, last changed 22nd April 2015