Enumeration

AgsServerFlags

since: 6.0

Declaration

flags Ags.ServerFlags

Description [src]

Enum values to control the behavior or indicate internal state of AgsServer by enable/disable as flags.

Available since: 6.0

Members

AGS_SERVER_STARTED

The server was started.

  • Value: 1
  • Nickname: server-started
  • Available since: 6.0
AGS_SERVER_RUNNING

The server is up and running.

  • Value: 2
  • Nickname: server-running
  • Available since: 6.0
AGS_SERVER_TERMINATING

The server is closing connections and terminating.

  • Value: 4
  • Nickname: server-terminating
  • Available since: 6.0
AGS_SERVER_INET4

Use IPv4

  • Value: 8
  • Nickname: server-inet4
  • Available since: 6.0
AGS_SERVER_INET6

Use IPv6

  • Value: 16
  • Nickname: server-inet6
  • Available since: 6.0
AGS_SERVER_ANY_ADDRESS

Listen on any address.

  • Value: 32
  • Nickname: server-any-address
  • Available since: 6.0
AGS_SERVER_AUTO_START

Start the server.

  • Value: 64
  • Nickname: server-auto-start
  • Available since: 6.0