SOC_U: Preliminary implementation of sockets.
Stubbed CreateMemoryBlock Using Berkeley sockets, and Winsock2.2 on Windows. So far ftpony creates the socket and accepts incoming connections SOC_U: Renamed functions to maintain consistency Also prevents possible scope errors / conflicts with the actual Berkeley socket functions SOCU: Close all the opened sockets when cleaning up SOCU
This commit is contained in:
parent
59bba04628
commit
97a7381d29
8 changed files with 726 additions and 25 deletions
|
@ -24,10 +24,10 @@ endif()
|
|||
if (APPLE)
|
||||
target_link_libraries(citra iconv ${COREFOUNDATION_LIBRARY})
|
||||
elseif (WIN32)
|
||||
target_link_libraries(citra winmm)
|
||||
target_link_libraries(citra winmm wsock32 ws2_32)
|
||||
if (MINGW) # GCC does not support codecvt, so use iconv instead
|
||||
target_link_libraries(citra iconv)
|
||||
endif()
|
||||
endif()
|
||||
else() # Unix
|
||||
target_link_libraries(citra rt)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue