Server
API Reference Guide
Product Documentation:

Visualization Server
Documentation Home
Classes | Typedefs | Enumerations
socket.h File Reference
#include <ilserver/ilbarch.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <ilserver/boolean.h>
#include <ilserver/ttime.h>
#include <ilserver/ilbtypes.h>

Classes

class  IlsSocketException
 This class is the class for all exceptions thrown in the MvTCP library (the Rogue Wave Server network communication layer). More...
 

Typedefs

typedef void(* IlsSocketCallback) (IlsFD, IlsAny)
 This callback is called when something is detected on an external file descriptor. Library: mvtcp. More...
 

Enumerations

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, SOCKET_API_GETADDRINFO
}
 Possible values for socket exception IlsSocketException::getSocketApi() result. More...
 

Typedef Documentation

◆ IlsSocketCallback

typedef void(* IlsSocketCallback) (IlsFD, IlsAny)

This callback is called when something is detected on an external file descriptor. Library: mvtcp.

This callback is called when something is detected on an external file descriptor registered to the MvTCP main loop or when a new MvTCP file descriptor is added or removed. The file descriptor is passed and the optional argument provided when registering the callback.

See also
IlsTcpMvProcess, IlsTcpMvProcess::AddInput(), IlsTcpMvProcess::SetCreateFDCallback(), IlsTcpMvProcess::SetRemoveFDCallback().