Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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