![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section contents
csocket.oxh
this& = NewRNif&:
Create a networking interface object and returns a handle to the created object.
this& |
A handle which represents the created network interface |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewRNif&: DeleteRNif:(this&)
DeleteRNif:(BYREF this&)
Destroys the network interface object.
BYREF this& |
A handle for a network interface object. A zero value is written back into the variable |
LOCAL this& this& = NewRNif&: DeleteRNif:(this&)
err% = RNifAgentInfo%:(this&,info&)
Get the agent information for the network interface connection
this& |
A handle for a network interface object |
info& |
A handle for a network interface agent information object |
err% |
An error code |
RNifCancelProgressNotification:(this&)
Cancel the notification of the network interface progress.
this& |
A handle for a network interface object |
RNifClose:(this&)
Close the connection
this& |
A handle for a network interface object |
err% = RNifDisableTimers%:(this&,disable%)
Disable the timers
this& |
A handle for a network interface object |
disable% |
KTrue if the timers are to be disable,
otherwise KFalse |
err% |
An error code |
err% = RNifLastProgressError%:(this&,progress&)
Get the progress of the network interface connection.
this& |
A handle for a network interface object |
progress& |
A handle for a network interface progress object |
err% |
An error code |
err% = RNifNetworkActive%:(this&,BYREF active%)
This routine returns true if the network interface is active.
this& |
A handle for a network interface object |
BYREF active% |
Set to KTrue% if the network is active,
otherwise set to KFalse% |
err% |
An error code |
err% = RNifOpen%:(this&,name$,slots%)
Opens the network interface connection.
this& |
A handle for a network interface object |
name$ |
Name of the network interface. Use "" for the default network interface |
slots% |
The number of slots. Use KDefaultNifSlots%
for the default number |
err% |
An error code |
LOCAL this& this& = NewRNif&: IF RNifOpen%:(this&,"",KDefaultNifSlots%) = 0 RNifStop%:(this&) RNifClose:(this&) ENDIF DeleteRNif:(this&)
err% = RNifProgress%:(this&,progress&)
Get the progress status of the network connection.
this& |
A handle for a network interface object |
progress& |
A handle for a network interface progress object |
err% |
An error code |
RNifProgressNotificationA:(this&,progress&,BYREF
status&)
Routine used to monitor when the progress status changes.
this& |
A handle for a network interface object |
progress& |
A handle for a network interface progress object |
BYREF status& |
The status of the asynchronous operation |
err% = RNifStop%:(this&)
Stop a network interface connection.
this& |
A handle for a network interface object |
err% |
An error code |
LOCAL this& this& = NewRNif&: IF RNifOpen%:(this&,"",KDefaultNifSlots%) = 0 RNifStop%:(this&) RNifClose:(this&) ENDIF DeleteRNif:(this&)
version& = RNifVersion&:(this&)
Returns a handle to a version
object which should be deleted with DeleteVersion:()
when it is no longer required.
this& |
A handle for a network interface object |
version& |
A handle to a version object |
|