Commit Graph

11 Commits

Author SHA1 Message Date
Lioncash
1d9ace08ae proAdhoc: Make some functions return boolean values.
Also shortens validNetworkName a little.
2014-12-06 14:48:46 -05:00
AdamN
7f7b2a3800 Fixed some bugs (ie. possible of memory leaks) on Adhoc, and implement a few more Adhoc functions. 2014-06-24 23:43:03 +07:00
Bovine
c76548377c Fix nonblocking ptpConnect on Windows
According to
http://msdn.microsoft.com/en-us/library/windows/desktop/ms737625%28v=vs.85%29.aspx
"[...] it is not recommended that applications use multiple calls to
connect to detect connection completion.  If they do, they must be
prepared to handle WSAEINVAL and WSAEWOULDBLOCK error values the same
way that they handle WSAEALREADY, to assure robust operation."

Ideally socket->state should be set to a different state and select()
used to poll sockets until state can be switched to closed or
established.  Changes to socket->state are visible to games as so
probably should not be done without testing.
2014-05-18 06:41:02 -07:00
Unknown W. Brackets
7cde2311e0 Include sceKernelThread.h in less headers. 2014-03-29 17:02:41 -07:00
Unknown W. Brackets
d65af7353b Avoid some ChunkFile includes. 2014-03-15 11:32:57 -07:00
Ced2911
22ede1ebf3 [Xbox] Network disabled for xbox 2014-03-02 11:30:59 -08:00
Henrik Rydgard
c83a7e0029 Parse mac addresses in one place. 2013-11-28 12:38:45 +01:00
Henrik Rydgard
ade18848f7 Warning fixes 2013-11-28 11:54:00 +01:00
Henrik Rydgard
c499be9769 Merge branch 'adhoc-support' of https://github.com/Kyhel/ppsspp into Kyhel-adhoc-support
hrydgard here: I switched to our implementation of thread.h and removed the "Windows7SDK" things for now.

Conflicts:
	Core/Core.vcxproj.filters
2013-11-27 21:21:32 +01:00
Kyhel
0f7f90d0ac Added windows changes for a unified build. Added Dialog fix which
prevented from saving after going online. Added windows « errno » use
redefinition to suit WSAGetLastError and protocl needs.
2013-11-25 02:57:08 +01:00
Igor Calabria
33f4b44061 Moves proAdhoc extra functions to a separate file 2013-11-10 01:26:31 +00:00