Lines Matching refs:sockfd
629 getSockfdRxBytes(sockfd: number, callback: AsyncCallback\<number\>): void;
639 | sockfd | number | Yes | FD of the socket. |
659 let sockfd = 50; // FD of the socket you created.
660 statistics.getSockfdRxBytes(sockfd, (error: BusinessError, stats: number) => {
668 getSockfdRxBytes(sockfd: number): Promise\<number\>;
678 | sockfd | number | Yes | FD of the socket.|
703 let sockfd = 50; // FD of the socket you created.
704 statistics.getSockfdRxBytes(sockfd).then((stats: number) => {
713 getSockfdTxBytes(sockfd: number, callback: AsyncCallback\<number\>): void;
723 | sockfd | number | Yes | FD of the socket. |
743 let sockfd = 50; // FD of the socket you created.
744 statistics.getSockfdTxBytes(sockfd, (error: BusinessError, stats: number) => {
752 getSockfdTxBytes(sockfd: number): Promise\<number\>;
762 | sockfd | number | Yes | FD of the socket.|
787 let sockfd = 50; // FD of the socket you created.
788 statistics.getSockfdTxBytes(sockfd).then((stats: number) => {