Jump to content

AleksZ

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

AleksZ's Achievements

Newbie

Newbie (1/4)

2

Reputation

  1. Hi! procedure TMainForm.UniEdit2Change(Sender: TObject); function MyCif(s: string): Boolean; begin if (s = '0') or (s = '1') or (s = '2') or (s = '3') or (s = '4') or (s = '5') or (s = '6') or (s = '7') or (s = '8') or (s = '9') then Result := True else Result := False; end; begin if not MyCif(Copy(UniEdit2.Text, Length(UniEdit2.Text), 1)) then UniEdit2.Text := Copy(UniEdit2.Text, 1, Length(UniEdit2.Text) - 1); end;
  2. Hi! [http_transport] start_port=16384 start_port parameter is used for HTTP transport. A transport is a channel which HyperServer uses to internally communicate with its Nodes. Each Node requires to own a unique transport id which for HTTP transports is actually a TCP port number. HyperServer needs to know a start value for ports. It will assign port numbers to Nodes based on this start value. In Windows many different values can be assigned to start_port. By default ports in range (1024 - 49151) are defined as user ports in Windows operating system. In order to find out dynamic port range used reserved for OS you can use below command: C:\>netsh int ipv4 show dynamicport tcp Protocol tcp Dynamic Port Range --------------------------------- Start Port : 49152 In a Windows Server OS with default settings you will get a response like above, which indicates that Windows dynamic port range starts from 49152. It is important to know the start port for Windows dynamic ports, so they won't conflict with HyperServer transport channel ports. HyperServer uses port 16384 ($4000) by default as start_port. With this configuration First Node (Node #0) will be assigned port 16384, Node #1 will be assigned port 16385 and so on. If you plan to run more than one instance of HyperServer on same OS then port numbers should be arranged in a way that they won't conflict with each other. You must ensure that all Nodes will be assigned unique port numbers. This can be easily done by leaving port gaps for each HyperServer instance. It can be calculated using below formula: <start_port for new HyperServer instance> = <start_port of previous HyperServer instance> + ( <max_nodes of previous HyperServer instance> × 3 ) + 8 Consider that you plan to install three HyperServer instances on same server. Instances are configured with max_nodes parameters of 8, 16 and 16 respectively. For 1st instance start_port is configured as 16384 ( or any other desired value ) For 2nd instance start_port should be configured as 16384 + ( 8×3 + 8 ) = 16416 For 3rd instance start_port should be configured as 16416 + ( 16×3 + 8 ) = 16472 As you can see, we are leaving some additional gaps between port start numbers. The reason for this is that under certain conditions total number of Nodes can grow beyond max_nodes parameter. Default value = 16384
  3. The bug has not been fixed yet! Open any form in full screen and click on the border of the form with the mouse. After closing the form, the client interface becomes completely blocked! https://yadi.sk/i/pwViSb58EP2DIw
  4. You have a false impression of people! I have already drawn the attention of developers to a bug under a different nickname "Aleks".
  5. Farshad Mohajeri hello!🙂 I am currently testing Framework and am not a subscriber
  6. The bug has not been fixed yet! Open any form in full screen and click on the border of the form with the mouse. After closing the form, the client interface becomes completely blocked! https://yadi.sk/i/pwViSb58EP2DIw
×
×
  • Create New...