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.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Socket.SetTag

Sets the tag of the socket.

Component Version macOS Windows Linux Server iOS SDK
Socket 8.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetTag"; SocketID; value )   More

Parameters

Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock
value The new tag value. Get(RecordID)

Result

Returns OK or error.

Description

Sets the tag of the socket.
See also Socket.GetTag.
With the tag, we allow you to associate a text with the socket, for example a record ID.

See also

Release notes

Blog Entries

Created 6th June 2018, last changed 6th June 2018


Socket.SetSendBufferSize - Socket.SetTimeToLive

Feedback: Report problem or ask question.