Platforms to show: All Mac Windows Linux Cross-Platform

Back to RAWSocketMBS class.

Address Families

RAWSocketMBS.AddressFamilyINet6 as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
One of the address family constants.

IPv6
This is a method as value is different.
Mac 30, Windows 23 and Linux 10.

RAWSocketMBS.CalcChecksum(data as ptr, ByteCount as Integer) as UInt16

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Calculates checksum for IP header.

Some examples using this method:

RAWSocketMBS.htonl(value as UInt32) as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert 32bit Integer from network to host byte order.

RAWSocketMBS.htons(value as UInt16) as UInt16

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert 16bit Integer from network to host byte order.

RAWSocketMBS.inet_addr(IPv4 as String) as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts IPv4 to numerical representation.

Some examples using this method:

RAWSocketMBS.inet_ntoa(IPv4 as UInt32) as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Converts IPv4 to string representation.

Some examples using this method:

RAWSocketMBS.ntohl(value as UInt32) as UInt32

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert 32bit Integer from host to network byte order.

RAWSocketMBS.ntohs(value as UInt16) as UInt16

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Network MBS Network Plugin 17.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Convert 16bit Integer from host to network byte order.

The items on this page are in the following plugins: MBS Network Plugin.


The biggest plugin in space...