Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Back to RAWSocketMBS class.
RAWSocketMBS.AddressFamily as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 18.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This is either RAWSocketMBS.AddressFamilyINet (2) for IPv4 or RAWSocketMBS.AddressFamilyINet6 (Mac 30, Windows 23 and Linux 10) for IPv6.
(Read and Write property)
RAWSocketMBS.AvailableBytes as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror is set.
(Read only property)
RAWSocketMBS.Broadcast as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Set to true before sending a broadcast message.
Internally this uses SOL_SOCKET/SO_BROADCAST option.
Lasterror is set.
(Read and Write property)
RAWSocketMBS.Handle as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
(Read and Write property)
RAWSocketMBS.IPHeaderIncluded as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is false.
Set to true when you include IP header in data.
(Read and Write property)
RAWSocketMBS.Lasterror as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Platform dependent.
(Read and Write property)
RAWSocketMBS.LocalIP as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Can be 0.0.0.0 if unknown.
May only be set if connected or binded.
Lasterror is set.
(Read only property)
RAWSocketMBS.LocalPort as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 18.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Lasterror is set.
Can be -1 if unknown.
(Read only property)
RAWSocketMBS.Protocol as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 18.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value from constructor.
(Read and Write property)
RAWSocketMBS.ReceiveBufferSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The buffer size may be increased for high-volume connections, or may be decreased to limit the possible backlog of incoming data. The system places an absolute limit on these values.
Internally this uses SOL_SOCKET/SO_RCVBUF option.
Lasterror is set.
(Read and Write property)
RAWSocketMBS.ReuseAddress as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Internally this uses SOL_SOCKET/SO_REUSEADDR option.
see also
http://stackoverflow.com/questions/14388706/socket-options-so-reuseaddr-and-so-reuseport-how-do-they-differ-do-they-mean-t
Lasterror is set.
(Read and Write property)
RAWSocketMBS.ReusePort as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Internally this uses SOL_SOCKET/SO_REUSEPORT option.
On Windows, this is not supported, so this property sets ReuseAddress.
Lasterror is set.
(Read and Write property)
RAWSocketMBS.SendBufferSize as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The buffer size may be increased for high-volume connections, or may be decreased to limit the possible backlog of incoming data. The system places an absolute limit on these values.
Internally this uses SOL_SOCKET/SO_SNDBUF option.
Lasterror is set.
(Read and Write property)
RAWSocketMBS.SocketError as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 17.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Internally this uses SOL_SOCKET/SO_ERROR option.
Lasterror is set.
(Read only property)
RAWSocketMBS.SocketType as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Network | MBS Network Plugin | 18.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
The value from constructor.
(Read and Write property)
The items on this page are in the following plugins: MBS Network Plugin.