Commit f092f18a authored by gejun's avatar gejun

Add INVALID_SOCKET_ID

parent c081ed08
......@@ -32,6 +32,8 @@ namespace brpc {
// unique_ptr is not destructed, the enclosed Socket will not be recycled.
typedef uint64_t SocketId;
const SocketId INVALID_SOCKET_ID = (SocketId)-1;
class Socket;
extern void DereferenceSocket(Socket*);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment