MOOS 0.2375
|
#include <XPCUdpSocket.h>
Public Member Functions | |
XPCUdpSocket (long int _iPort) | |
int | iSendMessageTo (void *_vMessage, int _iMessageSize, long int nPort, const std::string &sHost) |
int | iBroadCastMessage (void *_vMessage, int _iMessageSize, long int nPort) |
int | iRecieveMessage (void *_vMessage, int _iMessageSize, int _iOption=0) |
void | vBindSocket () |
Protected Member Functions | |
bool | GetAddress (long int nPort, const std::string &sHost, sockaddr_in &Address) |
Protected Attributes | |
std::map< std::pair< long int, std::string >, sockaddr_in > | m_KnownAdresses |
Definition at line 42 of file XPCUdpSocket.h.
XPCUdpSocket::XPCUdpSocket | ( | long int | _iPort | ) |
Definition at line 46 of file XPCUdpSocket.cpp.
bool XPCUdpSocket::GetAddress | ( | long int | nPort, |
const std::string & | sHost, | ||
sockaddr_in & | Address | ||
) | [protected] |
Definition at line 51 of file XPCUdpSocket.cpp.
int XPCUdpSocket::iBroadCastMessage | ( | void * | _vMessage, |
int | _iMessageSize, | ||
long int | nPort | ||
) |
Definition at line 96 of file XPCUdpSocket.cpp.
int XPCUdpSocket::iRecieveMessage | ( | void * | _vMessage, |
int | _iMessageSize, | ||
int | _iOption = 0 |
||
) |
Definition at line 129 of file XPCUdpSocket.cpp.
int XPCUdpSocket::iSendMessageTo | ( | void * | _vMessage, |
int | _iMessageSize, | ||
long int | nPort, | ||
const std::string & | sHost | ||
) |
Definition at line 102 of file XPCUdpSocket.cpp.
void XPCUdpSocket::vBindSocket | ( | ) |
Definition at line 158 of file XPCUdpSocket.cpp.
std::map< std::pair< long int , std::string >, sockaddr_in > XPCUdpSocket::m_KnownAdresses [protected] |
Definition at line 67 of file XPCUdpSocket.h.