Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch(IRCSocket.connect(m_server, m_port))
- {
- case SocketTcp::Status::Done:
- return;
- case SocketTcp::Status::Error:
- throw AsuIRC::exception::socket_error;
- case SocketTcp::Status::Disconnected:
- throw AsuIRC::exception::socket_disconnected;
- case SocketTcp::Status::NotReady:
- cout << "Keep going!" << endl;
- continue;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement