Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
36fed842
Commit
36fed842
authored
Jan 29, 2007
by
Dafydd Harries
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent.c: add some comments
darcs-hash:20070129160222-c9803-6695f7d7826ec933d8e03f7e6084d47471559c97.gz
parent
2935b889
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
agent/agent.c
agent/agent.c
+11
-0
No files found.
agent/agent.c
View file @
36fed842
...
...
@@ -408,6 +408,8 @@ ice_agent_recv (
}
else
if
((
buf
[
0
]
&
0xc0
)
==
0
)
{
/* looks like a STUN message (connectivity check) */
/* connectivity checks are described in ICE-13 §7. */
StunMessage
*
msg
;
msg
=
stun_message_unpack
(
len
,
buf
);
...
...
@@ -431,13 +433,22 @@ ice_agent_recv (
g_free
(
packed
);
stun_message_free
(
response
);
/* XXX: perform a triggered connectivity check here */
/* or is that only for full implementations? */
}
/* XXX: handle the case where the incoming packet is a response for a
* binding request we sent */
stun_message_free
(
msg
);
}
}
/**
* Set the STUN server from which to obtain server-reflexive candidates.
*/
/*
void
ice_agent_set_stun_server (Address *addr, guint16 port)
...
...
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