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.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Socket.WriteByte

Writes a single byte to the socket.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Socket 3.1 Yes Yes Yes Yes Yes

MBS( "Socket.WriteByte"; SocketID; Value )

Parameters

Parameter Description Example value
SocketID The socket ID received by Socket.Connect function. $sock
Value The byte value. Range from 0 to 255. 13

Result

Returns OK or error message.

Description

Writes a single byte to the socket.
This is useful if you need to send single control bytes like message start or message end.

See also

Created 18th August 2014, last changed 18th August 2014


Socket.Write   -   Socket.WriteHex

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins