13 lines
388 B
C++
13 lines
388 B
C++
#pragma once
|
|
|
|
class Sockets
|
|
{
|
|
public:
|
|
static SceNetId Connect(SceNetInAddr_t address, uint16_t port, int timeOutSeconds);
|
|
static bool SendInt(SceNetId Sock, int val);
|
|
static bool RecvInt(SceNetId Sock, int* val);
|
|
static bool SendLargeData(SceNetId Sock, unsigned char* data, size_t dataLen);
|
|
static bool RecvLargeData(SceNetId Sock, unsigned char* data, size_t dataLen);
|
|
private:
|
|
|
|
}; |