Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
FORMUS3IC_LAS3
/
embb
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0456ebc8
authored
9 years ago
by
Marcus Winter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mtapi_network_c: removed code for socket reuse altogether
parent
f670df71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
mtapi_plugins_c/mtapi_network_c/src/embb_mtapi_network_socket.c
+0
-6
No files found.
mtapi_plugins_c/mtapi_network_c/src/embb_mtapi_network_socket.c
View file @
0456ebc8
...
...
@@ -71,12 +71,6 @@ int embb_mtapi_network_socket_bind_and_listen(
uint16_t
port
,
uint16_t
max_connections
)
{
struct
sockaddr_in
in_addr
;
int
reuseaddr_on
=
1
;
if
(
SOCKET_ERROR
==
setsockopt
(
that
->
handle
,
SOL_SOCKET
,
0
,
(
const
char
*
)
&
reuseaddr_on
,
sizeof
(
reuseaddr_on
)))
{
return
0
;
}
// bind & listen
memset
(
&
in_addr
,
0
,
sizeof
(
in_addr
));
...
...
This diff is collapsed.
Click to expand it.
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