User Tools

Site Tools


uphp:functions:netstat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:netstat [2017/05/11 23:25]
jeff
uphp:functions:netstat [2021/12/10 09:18] (current)
admin
Line 25: Line 25:
 |max_http_connections|<html><b><span style="color:green">int</b></html>|The number of HTTP connections allowed| |max_http_connections|<html><b><span style="color:green">int</b></html>|The number of HTTP connections allowed|
 |max_connections|<html><b><span style="color:green">int</b></html>|The total number of TCP connections allowed| |max_connections|<html><b><span style="color:green">int</b></html>|The total number of TCP connections allowed|
 +|internet_connected|<html><b><span style="color:green">int</b></html>|Returns 1 if Internet is connected (only available in fw x.1203+)|
 +|interface|<html><b><span style="color:green">int</b></html>|Returns 0 for Ethernet, 1 for Cellular, 2 for WiFi (only available in fw x.1203+)|
 |conn**X**_socket((Zero-based connection number, up to max_connections-1))|<html><b><span style="color:green">int</b></html>|Socket number for connection X| |conn**X**_socket((Zero-based connection number, up to max_connections-1))|<html><b><span style="color:green">int</b></html>|Socket number for connection X|
 |conn**X**_stage|<html><b><span style="color:green">int</b></html>|Socket status for connection X| |conn**X**_stage|<html><b><span style="color:green">int</b></html>|Socket status for connection X|
Line 45: Line 47:
 ====See Also==== ====See Also====
  
-[[setusbpower()]] - Set the state of the USB power+[[setusbpower()]] - Enable or disable USB power
  
 [[net_enable3g()]] - Enable 3G support for the dongle [[net_enable3g()]] - Enable 3G support for the dongle
uphp/functions/netstat.1494545117.txt.gz · Last modified: 2021/09/13 05:56 (external edit)