qt network(QNetworkSession)

     The QNetworkSession class provides control over the system's access points and enables session management for cases when multiple clients access the same access point.

A QNetworkSession enables control over the system's network interfaces. The session's configuration parameter are determined via theQNetworkConfiguration object to which it is bound. Depending on the type of the session (single access point or service network) a session may be linked to one or more network interfaces. By means of opening and closing of network sessions a developer can start and stop the systems network interfaces. If the configuration represents multiple access points (see QNetworkConfiguration::ServiceNetwork) more advanced features such as roaming may be supported.

QNetworkSession supports session management within the same process and depending on the platform's capabilities may support out-of-process sessions. If the same network configuration is used by multiple open sessions the underlying network interface is only terminated once the last session has been closed.

    QNetworkSession 这个类提供了控制通过系统的访问指针并且会议管理当多客户访问相同的指针。这个类能管理通过网络接口,这个会议的配置参数决定于取到QNetworkConfiguration 这个对象。根据会议的类型(单个访问指针或者服务网络)一个会议可能连接与一个或多个网络接口。

你可能感兴趣的:(network,qt,session,access,system,features)