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
108bc676
Commit
108bc676
authored
Jan 19, 2022
by
Joshua Supra
Browse files
changed eth0 port to 4444
parent
d18c0b41
Changes
1
Hide whitespace changes
Inline
Side-by-side
pilc2_functions/pilc2_network.c
View file @
108bc676
...
...
@@ -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
);
...
...
Joshua Supra
@joshua.supra
mentioned in commit
d53137c3
·
Jan 24, 2022
mentioned in commit
d53137c3
mentioned in commit d53137c36e37485c4a9f8293310bf3a8ab69918d
Toggle commit list
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