@@ -1319,10 +1319,7 @@ added: REPLACEME
13191319-->
13201320
13211321New instances of ` QuicSocket ` are created using the ` net.createQuicSocket() `
1322- method.
1323-
1324- Once created, a ` QuicSocket ` can be configured to work as both a client and a
1325- server.
1322+ method, and can be used as both a client and a server.
13261323
13271324#### Event: ` 'busy' `
13281325<!-- YAML
@@ -1477,46 +1474,60 @@ added: REPLACEME
14771474
14781475* Type: {boolean}
14791476
1480- Will be ` true ` if the ` QuicSocket ` has been successfully bound to the local UDP
1481- port.
1477+ Will be ` true ` if the ` QuicSocket ` has been successfully bound to a local UDP
1478+ port. Initially the value is ` false ` .
1479+
1480+ ` QuicSocket ` instances are not bound to a local UDP port until the first time
1481+ eithe ` quicsocket.listen() ` or ` quicsocket.connect() ` is called. The ` 'ready' `
1482+ event will be emitted once the ` QuicSocket ` has been bound and the value of
1483+ ` quicsocket.bound ` will become ` true ` .
1484+
1485+ Read-only.
14821486
14831487#### quicsocket.boundDuration
14841488<!-- YAML
14851489added: REPLACEME
14861490-->
14871491
1488- * Type: {bigint }
1492+ * Type: {number }
14891493
1490- A ` BigInt ` representing the length of time this ` QuicSocket ` has been bound
1491- to a local port.
1494+ The length of time this ` QuicSocket ` has been bound to a local port.
1495+
1496+ Read-only.
14921497
14931498#### quicsocket.bytesReceived
14941499<!-- YAML
14951500added: REPLACEME
14961501-->
14971502
1498- * Type: {bigint }
1503+ * Type: {number }
14991504
1500- A ` BigInt ` representing the number of bytes received by this ` QuicSocket ` .
1505+ The number of bytes received by this ` QuicSocket ` .
1506+
1507+ Read-only.
15011508
15021509#### quicsocket.bytesSent
15031510<!-- YAML
15041511added: REPLACEME
15051512-->
15061513
1507- * Type: {bigint}
1514+ * Type: {number}
1515+
1516+ The number of bytes sent by this ` QuicSocket ` .
15081517
1509- A ` BigInt ` representing the number of bytes sent by this ` QuicSocket ` .
1518+ Read-only .
15101519
15111520#### quicsocket.clientSessions
15121521<!-- YAML
15131522added: REPLACEME
15141523-->
15151524
1516- * Type: {bigint}
1525+ * Type: {number}
1526+
1527+ The number of client ` QuicSession ` instances that have been associated
1528+ with this ` QuicSocket ` .
15171529
1518- A ` BigInt ` representing the number of client ` QuicSession ` instances that
1519- have been associated with this ` QuicSocket ` .
1530+ Read-only.
15201531
15211532#### quicsocket.close(\[ callback\] )
15221533<!-- YAML
@@ -1690,9 +1701,11 @@ Will be `true` if the `QuicSocket` has been destroyed.
16901701added: REPLACEME
16911702-->
16921703
1693- * Type: {bigint}
1704+ * Type: {number}
1705+
1706+ The length of time this ` QuicSocket ` has been active,
16941707
1695- A ` BigInt ` representing the length of time this ` QuicSocket ` has been active,
1708+ Read-only.
16961709
16971710#### quicsocket.endpoints
16981711<!-- YAML
@@ -1828,10 +1841,11 @@ If a `callback` is given, it is registered as a handler for the
18281841added: REPLACEME
18291842-->
18301843
1831- * Type: {bigint }
1844+ * Type: {number }
18321845
1833- A ` BigInt ` representing the length of time this ` QuicSocket ` has been listening
1834- for connections.
1846+ The length of time this ` QuicSocket ` has been listening for connections.
1847+
1848+ Read-only
18351849
18361850#### quicsocket.listening
18371851<!-- YAML
@@ -1847,29 +1861,33 @@ Set to `true` if the `QuicSocket` is listening for new connections.
18471861added: REPLACEME
18481862-->
18491863
1850- * Type: {bigint }
1864+ * Type: {number }
18511865
1852- A ` BigInt ` representing the number of packets received by this ` QuicSocket ` that
1853- have been ignored.
1866+ The number of packets received by this ` QuicSocket ` that have been ignored.
1867+
1868+ Read-only.
18541869
18551870#### quicsocket.packetsReceived
18561871<!-- YAML
18571872added: REPLACEME
18581873-->
18591874
1860- * Type: {bigint}
1875+ * Type: {number}
1876+
1877+ The number of packets successfully received by this ` QuicSocket ` .
18611878
1862- A ` BigInt ` representing the number of packets successfully received by this
1863- ` QuicSocket ` .
1879+ Read-only
18641880
18651881#### quicsocket.packetsSent
18661882<!-- YAML
18671883added: REPLACEME
18681884-->
18691885
1870- * Type: {bigint}
1886+ * Type: {number}
1887+
1888+ The number of packets sent by this ` QuicSocket ` .
18711889
1872- A ` BigInt ` representing the number of packets sent by this ` QuicSocket ` .
1890+ Read-only
18731891
18741892#### quicsocket.pending
18751893<!-- YAML
@@ -1902,20 +1920,23 @@ error code. To begin receiving connections again, disable busy mode by setting
19021920added: REPLACEME
19031921-->
19041922
1905- * Type: {bigint}
1923+ * Type: {number}
1924+
1925+ The number of ` QuicSession ` instances rejected due to server busy status.
19061926
1907- A ` BigInt ` representing the number of ` QuicSession ` instances rejected
1908- due to server busy status.
1927+ Read-only.
19091928
19101929#### quicsocket.serverSessions
19111930<!-- YAML
19121931added: REPLACEME
19131932-->
19141933
1915- * Type: {bigint }
1934+ * Type: {number }
19161935
1917- A ` BigInt ` representing the number of server ` QuicSession ` instances that
1918- have been associated with this ` QuicSocket ` .
1936+ The number of server ` QuicSession ` instances that have been associated with
1937+ this ` QuicSocket ` .
1938+
1939+ Read-only.
19191940
19201941#### quicsocket.setDiagnosticPacketLoss(options)
19211942<!-- YAML
@@ -1939,9 +1960,11 @@ This method is *not* to be used in production applications.
19391960added: REPLACEME
19401961-->
19411962
1942- * Type: {bigint}
1963+ * Type: {number}
1964+
1965+ The number of stateless resets that have been sent.
19431966
1944- A ` BigInt ` that represents the number of stateless resets that have been sent .
1967+ Read-only .
19451968
19461969#### quicsocket.toggleStatelessReset()
19471970<!-- YAML
0 commit comments