Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Start method
Starts WEB server.
Type
VoidSyntax
- C#
- VB.NET
Void Start();
Void Start(Int32 Port);
The Start(Port) syntax has these parts:
Void Start(Int32 Port);
The Start(Port) syntax has these parts:
Port | Port number where new connections are accepted. |
Sub Start()
Sub Start(ByVal Port As Int32)
The Start(Port) syntax has these parts:
Sub Start(ByVal Port As Int32)
The Start(Port) syntax has these parts:
Port | Port number where new connections are accepted. |
Remarks
Start Method will make your WEB server 'alive' and force it to:- bind to your local port (default 80 for HTTP protocols) on selected interface,
- listen for incoming connections,
- set Activated property to True,
- accept incoming connections,
- create WebUser object for each new connection, and fill in respective RemoteIP and TimeConnected properties
Before starting server, you should setup several properties that will determine behavior of your server, such as Timeout, ServerName, Port.... Just by leaving default values will make your server work as expected, but in 'real life' you should choose your own values for these properties. To shutdown the server, call Stop method.