Provides network activity statistics such as:
The number of bytes sent and received by the server.
The number of packets sent, routed, and read by the server.
Returns the number of bytes received by the server.
object.BytesReceived
Long.
Read-only.
This example returns the number of bytes received by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.netstat
print (statobj.bytesrcecived) &" bytes received by the server"
Returns the number of bytes sent by the server.
object.BytesSent
Long.
Read-only.
This example returns the number of bytes sent by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.netstat
print (statobj.bytessent) &" bytes sent by the server"
Returns the number of packets read by the server.
object.PacketsRead
Long.
Read-only.
This example returns the number of packets were read by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.netstat
print (statobj.PacketsRead) &" packets read by the server"
Returns the number of packets routed by the server.
object.PacketsRouted
Long.
Read-only.
This example returns the number of packets were routed by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.netstat
print (statobj.PacketsRouted) &" packets were routed by the server"
Returns the number of packets sent by the server.
object.PacketsSent
Long.
Read-only.
This example returns the number of packets sent by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.netstat
print (statobj.PacketsSent) &" packets were sent by the server"