equal
deleted
inserted
replaced
628 sessions which use the same network interface. |
628 sessions which use the same network interface. |
629 |
629 |
630 If the session is based on a service network configuration the number of |
630 If the session is based on a service network configuration the number of |
631 sent bytes across all active member configurations are returned. |
631 sent bytes across all active member configurations are returned. |
632 |
632 |
633 This function may not always be supported on all platforms and returns |
633 This function may not always be supported on all platforms and returns 0. |
634 0. The platform capability can be detected via QNetworkConfigurationManager::DataStatistics. |
634 The platform capability can be detected via QNetworkConfigurationManager::DataStatistics. |
|
635 |
|
636 \note On some platforms this function may run the main event loop. |
635 */ |
637 */ |
636 quint64 QNetworkSession::bytesWritten() const |
638 quint64 QNetworkSession::bytesWritten() const |
637 { |
639 { |
638 return d->bytesWritten(); |
640 return d->bytesWritten(); |
639 } |
641 } |
645 sessions which use the same network interface. |
647 sessions which use the same network interface. |
646 |
648 |
647 If the session is based on a service network configuration the number of |
649 If the session is based on a service network configuration the number of |
648 sent bytes across all active member configurations are returned. |
650 sent bytes across all active member configurations are returned. |
649 |
651 |
650 This function may not always be supported on all platforms and returns |
652 This function may not always be supported on all platforms and returns 0. |
651 0. The platform capability can be detected via QNetworkConfigurationManager::DataStatistics. |
653 The platform capability can be detected via QNetworkConfigurationManager::DataStatistics. |
|
654 |
|
655 \note On some platforms this function may run the main event loop. |
652 */ |
656 */ |
653 quint64 QNetworkSession::bytesReceived() const |
657 quint64 QNetworkSession::bytesReceived() const |
654 { |
658 { |
655 return d->bytesReceived(); |
659 return d->bytesReceived(); |
656 } |
660 } |