Microsoft DirectX 8.1 (Visual Basic) |
Closes the open connection to a session.
Close();
If the method fails, Err.Number can be set to the following value.
DPNERR_UNINITIALIZED |
Calling Close will cancel all outstanding operations, including data sent as guaranteed. To make sure all messages are sent, wait for all outstanding SendTo calls to complete before calling Close.