Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bytevia
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Pastushkov
bytevia
Commits
be97dd33
Commit
be97dd33
authored
Sep 17, 2024
by
Michael Pastushkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c086a04e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
run_udp_client
+2
-2
src/bytevia.c
+1
-1
No files found.
run_udp_client
View file @
be97dd33
#!/bin/sh
#!/bin/sh
make clean
&&
make
&&
./bytevia
--local-port
=
1948
--remote-host
=
p4pn.net
--remote-port
=
1984
--proto
=
udp
--secret
=
52341
make clean
&&
make
&&
./bytevia
--local-port
=
1948
--remote-host
=
p4pn.net
--remote-port
=
1984
--proto
=
udp
--secret
=
52341
--fork
\ No newline at end of file
\ No newline at end of file
src/bytevia.c
View file @
be97dd33
...
@@ -440,7 +440,7 @@ int fork_udp() {
...
@@ -440,7 +440,7 @@ int fork_udp() {
if
(
client_index
==
-
1
)
{
if
(
client_index
==
-
1
)
{
if
((
child_pid
=
fork
())
==
0
)
{
if
((
child_pid
=
fork
())
==
0
)
{
if
(
options
.
log
)
if
(
options
.
log
)
printf
(
"request from %s, forking %d
...
\n
"
,
inet_ntoa
(
rc
.
client_addr
.
sin_addr
)
,
getpid
());
printf
(
"request from %s, forking %d
:%d ...
\n
"
,
inet_ntoa
(
rc
.
client_addr
.
sin_addr
),
rc
.
client_addr
.
sin_port
,
getpid
());
run
();
run
();
exit
(
0
);
exit
(
0
);
}
}
...
...
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