Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kHttpServer_SetAddress | ( | kHttpServer | server,
|  | kIpAddress | address
| ) |  |

Sets the local address to which the server should bind.

By default, the server will bind to the address returned by kIpAddress_AnyV4().

This function can only be called while the server is stopped.

Parameters

  server | Server object.
  address | IP address.

Returns
  Operation status.