Account
| Beam-lib 2.16.3 This is the Beam C++ class library. |
BSocket.h
Go to the documentation of this file.
105 BError sendTo(const BSocketAddress& address, const void* buf, BSize nbytes, BSize& nbytesSent, int flags = 0);
108 BError recvFrom(BSocketAddress& address, void* buf, BSize maxbytes, BSize& nbytesRecv, int flags = 0);
109 BError recvWithTimeout(void* buf, BSize maxbytes, BSize& nbytesRecv, int timeout, int flags = 0);
110 BError recvFromWithTimeout(BSocketAddress& address, void* buf, BSize maxbytes, BSize& nbytesRecv, int timeout, int flags = 0);
Definition: BSocket.h:80
static BList< BString > getIpAddressList()
Get a list of all the IP addresses of this host under hostname.
Definition: BSocket.cpp:250
Definition: BString.h:18
Definition: BSocket.h:78
BString getString()
Return string version of address <ip>:<port>
Definition: BSocket.cpp:212
BError recvFrom(BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0)
Definition: BSocket.cpp:555
Definition: BSocket.h:81
static BList< BString > getIpAddressListAll()
Get a list of all the IP addresses of this host looking at physical interfaces.
Definition: BSocket.cpp:267
Definition: BSocket.h:81
BSocketAddress & operator=(const BSocketAddress &add)
Definition: BSocket.cpp:111
BError sendTo(const BSocketAddress &address, const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0)
Definition: BSocket.cpp:460
BError setSockOpt(int level, int optname, void *optval, unsigned int optlen)
Definition: BSocket.cpp:619
BError sendChunks(const BDataChunk *chunks, BSize nChunks, BSize &nbytesSent, int flags=0)
Definition: BSocket.cpp:490
int operator!=(const BSocketAddress &add) const
Definition: BSocket.cpp:126
BError getSockOpt(int level, int optname, void *optval, unsigned int *optlen)
Definition: BSocket.cpp:627
Definition: BSocket.h:81
BString getString() const
Return string version of address <ip>:<port>
Definition: BSocket.cpp:95
Definition: BTypes.h:91
BError send(const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0)
Definition: BSocket.cpp:447
static BList< uint32_t > getIpAddresses()
Get a list of all the IP addresses of this host.
Definition: BSocket.cpp:237
Definition: BSocket.h:80
int operator==(const BSocketAddress &add) const
Definition: BSocket.cpp:122
Definition: BError.h:25
BError recvWithTimeout(void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0)
Definition: BSocket.cpp:533
static BString getHostName()
Get this hosts network name.
Definition: BSocket.cpp:229
BError recv(void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0)
Definition: BSocket.cpp:518
BError recvFromWithTimeout(BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0)
Definition: BSocket.cpp:571
Generated by
1.8.15 