Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sends an UDP data message.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Socket 3.1 Yes Yes Yes Yes Yes
MBS( "Socket.SendMessageHex"; SocketID; IP; Port; Text )   More


Parameter Description Example value
SocketID The socket ID received by Socket.Connect function. $sock
IP The target IP or name. ""
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.


Sends an UDP data message.


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.

MBS Xojo PDF Plugins