summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/soc_u.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-01-04Fix some warnings (#2399)Jonathan Hao1-4/+0
2016-12-11Add all services to the Service namespaceLioncash1-29/+25
Previously there was a split where some of the services were in the Service namespace and others were not.
2016-12-01 Kernel/IPC: Use Ports and Sessions as the fundamental building block of Inter Process Communication.Subv1-1/+1
All handles obtained via srv::GetServiceHandle or svcConnectToPort are references to ClientSessions. Service modules will wait on the counterpart of those ClientSessions (Called ServerSessions) using svcReplyAndReceive or svcWaitSynchronization[1|N], and will be awoken when a SyncRequest is performed. HLE Interfaces are now ClientPorts which override the HandleSyncRequest virtual member function to perform command handling immediately.
2016-10-28core: some errno values are uncommon on UnixJan Beich1-0/+8
src/core/hle/service/soc_u.cpp:107:6: error: 'ENODATA' was not declared in this scope {ENODATA, 43}, ^ src/core/hle/service/soc_u.cpp:117:6: error: 'ENOSR' was not declared in this scope {ENOSR, 53}, ^ src/core/hle/service/soc_u.cpp:118:6: error: 'ENOSTR' was not declared in this scope {ENOSTR, 54}, ^ src/core/hle/service/soc_u.cpp:139:6: error: 'ETIME' was not declared in this scope {ETIME, 75}, ^
2016-09-21Use negative priorities to avoid special-casing the self-includeYuri Kunde Schlesner1-1/+1
2016-09-21Remove empty newlines in #include blocks.Emmanuel Gil Peyrot1-3/+1
This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation.
2016-09-19Manually tweak source formatting and then re-run clang-formatYuri Kunde Schlesner1-76/+78
2016-09-18Sources: Run clang-format on everything.Emmanuel Gil Peyrot1-185/+193
2016-05-28Memory: Make ReadBlock and WriteBlock accept void pointers.Subv1-7/+7
2016-05-28SOC_U: Remove usage of GetPointerSubv1-27/+73
2016-04-02Rework sockopt translation to match the error translation code already in placeRyan Loebs1-22/+30
2016-03-30Code styleRyan Loebs1-2/+2
2016-03-30Added GetSockOptNameRyan Loebs1-15/+58
Filter out and translate invalid sockopt names.
2016-03-29Derp: win32: typedef int socklen_t;Ryan Loebs1-4/+0
2016-03-29But of course, Windows uses 'int' while Linux uses 'socklen_t'Ryan Loebs1-0/+4
2016-03-29Compiling on Windows nowRyan Loebs1-3/+3
2016-03-29Formatting...Ryan Loebs1-1/+1
2016-03-29Addressing PR commentsRyan Loebs1-4/+4
2016-03-29SOC UpdatesRyan Loebs1-3/+46
-Implement GetSockOpt / SetSockOpt -Fix bug in RecvFrom where sending from localhost does not fill in src_addr/src_addr_len on Linux
2016-03-21soc_u: Get rid of explicit delete and newLioncash1-8/+5
2016-03-12hle: Update service function tablesLioncash1-1/+3
2016-02-12BitField: Make trivially copyable and remove assignment operatorMerryMage1-6/+6
2015-12-24HLE/Sockets: Fixed the buffer offset in recvfrom.Subv1-3/+13
Closes #1277
2015-09-11General: Replace NULL and '0' usages with nullptr where applicableLioncash1-1/+1
2015-07-20SOC:U : Update deprecated function gethostbyname() to getaddrinfo()zawata1-2/+8
2015-06-28Core: Cleanup soc:U includes.Emmanuel Gil Peyrot1-26/+34
2015-06-27Services: Use the standard _WIN32 define in soc:U instead of our own EMU_PLATFORM.Emmanuel Gil Peyrot1-8/+7
2015-06-25Services/SOC: Added command headers to some of the soc commands.Subv1-5/+13
2015-05-29Remove every trailing whitespace from the project (but externals).Emmanuel Gil Peyrot1-15/+15
2015-05-07Common: Remove common.hYuri Kunde Schlesner1-0/+1
2015-02-11Asserts: break/crash program, fit to style guide; log.h->assert.harchshift1-3/+2
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-02Service: Clean-up InterfaceYuri Kunde Schlesner1-1/+1
2015-01-12Fix building on MinGWdarkf1-0/+13
2015-01-03soc_u: Fix a missing formatting argumentLioncash1-1/+1
2015-01-01Silence some -Wsign-compare warnings.Rohit Nirmal1-4/+4
2014-12-31SOC_U: Preliminary implementation of sockets.Subv1-21/+700
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
2014-12-26More services & small clean upspurpasmart961-3/+0
2014-12-21License changepurpasmart961-1/+1
2014-11-01Added a bunch of servicespurpasmart961-0/+58