Fix typo
This commit is contained in:
@@ -57,7 +57,7 @@ bool NetworkBase::IsReadable(NetworkSocket& socket)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool NetworkBase::IsWriteable(NetworkSocket& socket)
|
||||
bool NetworkBase::IsWritable(NetworkSocket& socket)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ public:
|
||||
/// </summary>
|
||||
/// <param name="socket">The socket.</param>
|
||||
/// <returns>Returns true when data can be written. Otherwise false.</returns>
|
||||
static bool IsWriteable(NetworkSocket& socket);
|
||||
static bool IsWritable(NetworkSocket& socket);
|
||||
|
||||
/// <summary>
|
||||
/// Creates a socket group. It allocate memory based on the desired capacity.
|
||||
|
||||
@@ -311,7 +311,7 @@ bool Win32Network::IsReadable(NetworkSocket& socket)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool Win32Network::IsWriteable(NetworkSocket& socket)
|
||||
bool Win32Network::IsWritable(NetworkSocket& socket)
|
||||
{
|
||||
pollfd entry;
|
||||
entry.fd = *(SOCKET*)socket.Data;
|
||||
|
||||
@@ -22,7 +22,7 @@ public:
|
||||
static bool Listen(NetworkSocket& socket, uint16 queueSize);
|
||||
static bool Accept(NetworkSocket& serverSocket, NetworkSocket& newSocket, NetworkEndPoint& newEndPoint);
|
||||
static bool IsReadable(NetworkSocket& socket);
|
||||
static bool IsWriteable(NetworkSocket& socket);
|
||||
static bool IsWritable(NetworkSocket& socket);
|
||||
static bool CreateSocketGroup(uint32 capacity, NetworkSocketGroup& group);
|
||||
static bool DestroySocketGroup(NetworkSocketGroup& group);
|
||||
static int32 Poll(NetworkSocketGroup& group);
|
||||
|
||||
Reference in New Issue
Block a user