Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHttpServer_SetPort ( kHttpServer  server,
k32u  port 
)

Sets the local port to which the server should bind.

By default, the server will bind to port 80.

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

Parameters
serverServer object.
portPort number.
Returns
Operation status.