Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
ademco_hb
Commits
484a8b0f
Commit
484a8b0f
authored
Aug 08, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f6aa1c29
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
bench_client.cpp
examples/bench_client/bench_client.cpp
+1
-1
bench_client.vcxproj.user
examples/bench_client/bench_client.vcxproj.user
+1
-1
ademco_packet.h
include/ademco_packet.h
+1
-0
No files found.
examples/bench_client/bench_client.cpp
View file @
484a8b0f
...
...
@@ -263,9 +263,9 @@ ThreadContext* init_thread(int thread_id, const sockaddr_in& sin, int session_st
memcpy
(
&
context
->
addr
,
&
sin
,
sizeof
(
sin
));
context
->
session_start
=
session_start
;
context
->
session_end
=
session_start
+
session_per_thread
;
threadContexts
[
thread_id
]
=
context
;
context
->
connectNext
();
threadContexts
[
thread_id
]
=
context
;
return
context
;
}
...
...
examples/bench_client/bench_client.vcxproj.user
View file @
484a8b0f
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"Current"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Debug|x64'"
>
<LocalDebuggerCommandArguments>
192.168.1.166 12345 6
6000
50
</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>
192.168.1.166 12345 6
18000 1
50
</LocalDebuggerCommandArguments>
<DebuggerFlavor>
WindowsLocalDebugger
</DebuggerFlavor>
</PropertyGroup>
<PropertyGroup
Condition=
"'$(Configuration)|$(Platform)'=='Release|x64'"
>
...
...
include/ademco_packet.h
View file @
484a8b0f
...
...
@@ -2,6 +2,7 @@
#include "ademco_event.h"
#include "ademco_detail.h"
#include <iterator>
namespace
ademco
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment