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  

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

This function is free to use.

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


Socket.SetSendBufferSize - Socket.SetTimeToLive

💬 Ask a question or report a problem