目录

What does netId mean in the netHandle object returned by connection.getDefaultNet?

Question

What does netId mean in the netHandle object returned by connection.getDefaultNet?

Answer

In normal cases, the value 0 of netId in netHandle indicates that the network is not connected, and a value greater than or equal to 100 indicates that the network is connected.

Reference

NetHandle