# Fixes
- Fix LinearAlloc bug not using *sizeof(T) - Add WaitForRead to net backend - Add a Get func to Tween - Skip \r in Text Rendering - Add Citro3D Max Texsize check
This commit is contained in:
@ -40,6 +40,7 @@ class Backend {
|
||||
virtual int GetInvalidRef() const = 0;
|
||||
virtual bool Bind(int sock_id, u16 port) = 0;
|
||||
virtual bool Listen(int sock_id, int backlog = 5) = 0;
|
||||
virtual bool WaitForRead(int sock_id, int timeout_ms) = 0;
|
||||
virtual bool Accept(int sock_id, Socket::Ref client) = 0;
|
||||
virtual bool Connect(int sock_id, const std::string& ip, u16 port) = 0;
|
||||
virtual int Send(int sock_id, const std::string& data) = 0;
|
||||
|
@ -46,6 +46,7 @@ class PD_NET_API Socket {
|
||||
bool Create();
|
||||
bool Bind(u16 port);
|
||||
bool Listen(int backlog = 5);
|
||||
bool WaitForRead(int timeout_ms);
|
||||
bool Accept(Socket::Ref client);
|
||||
bool Connect(const std::string& ip, u16 port);
|
||||
int Send(const std::string& data);
|
||||
|
Reference in New Issue
Block a user