Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][API] Obtaining local interfaces to allow getting connected device name #2989

Draft
wants to merge 34 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
37aa803
Added check code for attempting rendezvous to self
May 9, 2018
7aaeeb3
Fixed build breaks on MICROSOFT
May 9, 2018
e39d94d
Fixed copying by type recognition condition
ethouris May 16, 2018
d798b01
Changed style
ethouris May 16, 2018
2f5a505
Split out apputil.cpp file
May 17, 2018
c9200e1
Added prevention of self-connecting to testing applications
May 17, 2018
00e10c2
Fixed build break on Windows
May 17, 2018
1d5bd08
Fixed incorrect implementation on Windows. Reading all families
May 17, 2018
5616437
Upgraded to latest upstream
May 23, 2019
117295e
Updated to latest upstream
Aug 9, 2019
6356b76
Fixed after merge
Aug 9, 2019
1c1b4f2
Fixed external inet_pton for mingw
Aug 9, 2019
b25e962
Updated to latest master. Made conself-check conditional and default …
Aug 14, 2019
4620850
Moved Iphlpapi lib to test programs only
Aug 14, 2019
99399ff
Some fixes for Windows
Aug 14, 2019
088d295
Merge branch 'master' into dev-add-rendezvous-to-self-prevention
Aug 22, 2019
bf94875
Merge branch 'master' into dev-add-rendezvous-to-self-prevention
Nov 8, 2019
bc3e2ed
Removed empty line to avoid unnecessary changes
Nov 8, 2019
a4134f8
Merge branch 'master' into dev-add-rendezvous-to-self-prevention
Dec 9, 2019
cf243a2
Updated to latest upstream
Nov 28, 2022
e27c268
Fixed compile errors after merge
Nov 28, 2022
a4a4c18
Merge remote-tracking branch 'ethouris/dev-add-rendezvous-to-self-pre…
Jul 26, 2024
c1ed253
[core][API] Added srt_getsockdevname to obtain the device name from a…
Jul 26, 2024
e5aa2dc
Enabled LOCALIF flag on C++11-win workflow
Jul 26, 2024
b8fbbc5
Fixed a case when the address is NULL (found on Cygwin)
ethouris Jul 26, 2024
d51262b
Fixed mistake in workflofs/cxx11-win
ethouris Jul 26, 2024
7b53f6f
Added printing device on listener in verbose mode
Jul 26, 2024
8fe7b3a
Fixed build break on Windows
Jul 26, 2024
0488b25
Merged and fixed
ethouris Jul 26, 2024
42666ca
Fixing wrong withdrawn changes
ethouris Jul 26, 2024
efaf0d7
Updated and fixed
Aug 14, 2024
4f9aa57
Merge remote-tracking branch 'ethouris/dev-add-obtaining-network-id' …
Aug 14, 2024
eb6a84a
Enabled LOCALIF always on windows, not only MICROSOFT
Aug 14, 2024
22fc22b
Fixed Iphlpapi library depend declaration on Windows
ethouris Aug 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Moved Iphlpapi lib to test programs only
Mikołaj Małecki committed Aug 14, 2019
commit 46208500d68b057e906cd9bc1236cd7a3179ac05
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -763,10 +763,6 @@ macro(srt_make_application name)
target_link_libraries(${name} PRIVATE ${GNUSTL_LIBRARIES} ${GNUSTL_LDFLAGS})
endif()

if (MICROSOFT AND ENABLE_CONSELF_CHECK_WIN32)
target_link_libraries(${name} Iphlpapi)
add_definitions(-DSRT_ENABLE_CONSELF_CHECK_WIN32)
endif()
if (srt_libspec_static AND CMAKE_DL_LIBS)
target_link_libraries(${name} ${CMAKE_DL_LIBS})
endif()
@@ -834,6 +830,10 @@ if (ENABLE_APPS)
# list of source files in its own Manifest file.
MafReadDir(testing ${name}.maf SOURCES SOURCES_app)
srt_add_program(${name} ${SOURCES_app})
if (MICROSOFT AND ENABLE_CONSELF_CHECK_WIN32)
target_link_libraries(${name} Iphlpapi)
add_definitions(-DSRT_ENABLE_CONSELF_CHECK_WIN32)
endif()
endmacro()

srt_add_testprogram(utility-test)