Update
NetworkMessage->GetData fixed Plugin -> Splitted message types PluginManager is now thread safe TcpConnection added list of events Properly handling disconnection now Fixed bug in Socket with error translation It crashes when it exits, i think it has something to do with shared ptrs or something
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace std::net
|
||||
{
|
||||
|
||||
@ -81,8 +81,8 @@ namespace std::net
|
||||
enum class SocketType
|
||||
{
|
||||
Unknown = -1,
|
||||
Datagram = 2,
|
||||
Streaming = 1,
|
||||
Datagram = 2, //SOCK_DGRAM
|
||||
Streaming = 1, //SOCK_STREAM
|
||||
};
|
||||
|
||||
enum class SocketProtocol
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
namespace std::net
|
||||
{
|
||||
|
||||
@ -21,7 +21,7 @@ namespace std::net
|
||||
init();
|
||||
}
|
||||
|
||||
virtual ~Socket() { Close(); }
|
||||
virtual ~Socket() { }
|
||||
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user