![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section contents
csocket.oxh
An interface information entry.
this& = NewSoIfInfo&:
Creates aninterface information object and returns a handle to the created object.
this& |
A handle which represents the interface information entry |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
DeleteSoIfInfo:(BYREF this&)
Destroys a socket interface information object.
BYREF this& |
A handle to an interface information entry. A zero value is written back into the variable |
features& = SoIfInfoGetFeatures&:(this&)
Returns the feature flags.
this& |
A handle to an interface information entry |
features& |
A bitmask containg the socket interface feature flags |
mtu& = SoIfInfoGetMTU&:(this&)
Returns the maximum frame size.
this& |
A handle to an interface information entry |
mtu& |
The maximum frame size |
name$ = SoIfInfoGetName$:(this&)
Returns the interface name.
this& |
A handle to an interface information entry |
name$ |
The interface name |
speed& = SoIfInfoGetSpeedMetric&:(this&)
Returns the speed metric which is an indication of performance (approximating to Kbps).
this& |
A handle to an interface information entry |
speed& |
The speed metric. |
SoIfInfoSetFeatures:(this&, features&)
Set the features flags in the interface information object.
this& |
A handle to an interface information entry |
features& |
A bitmask of the socket interface feature flags. |
SoIfInfoSetMTU:(this&, size&)
Set the features flags in the interface information object.
this& |
A handle to an interface information entry |
SoIfInfoSetName:(this&, name$)
Set the name in the interface information object. The name
must not be longer the KMaxInterfaceName%
characters
long.
this& |
A handle to an interface information entry |
name$ |
The name of the interface. |
SoIfInfoSetSpeedMetric:(this&, speed&)
Set the speed metric in the interface information object.
this& |
A handle to an interface information entry. |
speed& |
The speed metric. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |