IlsSocketException
 
IlsSocketException
Category 
Communication layer class
Inheritance Path 
IlsSocketException
Description 
This class is the class for all exceptions thrown in the MvTCP library (the Rogue Wave Server network communication layer). You can catch this exception using the standard C++ mechanism.
Library 
<mvtcp>
Header File 
#include <ilserver/mvtcp/socket.h>
Synopsis 
enum IlsSocketApi {
SOCKET_API_SOCKET,
SOCKET_API_BIND,
SOCKET_API_LISTEN,
SOCKET_API_SELECT,
SOCKET_API_SEND,
SOCKET_API_RECV,
SOCKET_API_GETHOSTBYNAME,
SOCKET_API_GETHOSTBYADDR,
SOCKET_API_CONNECT,
SOCKET_API_IOCTL,
SOCKET_API_GETSOCKNAME,
SOCKET_API_ACCEPT,
SOCKET_API_INETADDR
};
 
class IlsSocketException {
public:
IlsSocketApi getSocketApi() const throw ();
int getErrNo() const throw ();
IlsString getMessage() const throw ();
};
Member Functions 
IlsSocketApi getSocketApi() const throw ();
This member function returns the socket API that raises the error. See the enumeration IlsSocketApi in the Synopsis for the list of possible values.
int getErrNo() const throw ();
This member function returns the socket-API error number contained in the exception.
This error number can be platform-dependent.
IlsString getMessage() const throw ();
This member function returns the message contained in the exception. This message is formatted by the system to return a comprehensible message in relation with the error number. It is platform-dependent.
 

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.