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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Socket.SendMessageHex
Sends an UDP data message.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Socket | 3.1 | Yes | Yes | Yes | Yes | Yes |
MBS( "Socket.SendMessageHex"; SocketID; IP; Port; Text ) More
Parameters
| 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" |
Result
Returns the number of bytes written or an error message.
Description
Sends an UDP data message.Examples
Write some text:
MBS( "Socket.SendMessageHex"; $sock; "48656C6C6F" )
See also
Created 18th August 2014, last changed 22nd April 2015
Socket.SendMessage - Socket.SetBroadcast
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins