Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
FS-ELAB
pilc2server_old
Commits
73f9ddec
Commit
73f9ddec
authored
Jan 24, 2022
by
Joshua Supra
Browse files
Revert "Revert "changed eth0 port to 4444""
This reverts commit
d53137c3
parent
d53137c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
pilc2_functions/pilc2_network.c
View file @
73f9ddec
...
...
@@ -36,7 +36,7 @@ int init_network(void){
zmq_setsockopt
(
client_responder
,
ZMQ_TCP_KEEPALIVE
,
&
keep_alive
,
sizeof
(
keep_alive
));
zmq_setsockopt
(
client_responder
,
ZMQ_TCP_KEEPALIVE_IDLE
,
&
keep_alive_idle
,
sizeof
(
keep_alive_idle
));
zmq_setsockopt
(
client_responder
,
ZMQ_TCP_KEEPALIVE
,
&
keep_alive_intvl
,
sizeof
(
keep_alive_intvl
));
zmq_bind
(
client_responder
,
"tcp://eth1:
5555
"
);
zmq_bind
(
client_responder
,
"tcp://eth1:
4444
"
);
/* create and bind socket for gui connection */
gui_responder
=
zmq_socket
(
context
,
ZMQ_REP
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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