Account
| Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BSocket.h
Go to the documentation of this file.
107 BError sendTo(const BSocketAddress& address, const void* buf, BSize nbytes, BSize& nbytesSent, int flags = 0);
110 BError recvFrom(BSocketAddress& address, void* buf, BSize maxbytes, BSize& nbytesRecv, int flags = 0);
111 BError recvWithTimeout(void* buf, BSize maxbytes, BSize& nbytesRecv, int timeout, int flags = 0);
112 BError recvFromWithTimeout(BSocketAddress& address, void* buf, BSize maxbytes, BSize& nbytesRecv, int timeout, int flags = 0);
A chunk of data allowing writes of multiple chunks of segmented data.
Definition BTypes.h:94
Error return class. This class is used to return the error status from a function....
Definition BError.h:31
static BList< BString > getIpAddressList()
Get a list of all the IP addresses of this host under hostname.
Definition BSocket.cpp:252
BString getString()
Return string version of address <ip>:<port>
Definition BSocket.cpp:214
static BList< uint32_t > getIpAddresses()
Get a list of all the IP addresses of this host.
Definition BSocket.cpp:239
static BList< BString > getIpAddressListAll()
Get a list of all the IP addresses of this host looking at physical interfaces.
Definition BSocket.cpp:269
static BString getHostName()
Get this hosts network name.
Definition BSocket.cpp:231
BSocketAddress & operator=(const BSocketAddress &add)
Definition BSocket.cpp:113
BString getString() const
Return string version of address <ip>:<port>
Definition BSocket.cpp:97
BError send(const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0)
Definition BSocket.cpp:449
BError getSockOpt(int level, int optname, void *optval, unsigned int *optlen)
Definition BSocket.cpp:629
BError recvWithTimeout(void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0)
Definition BSocket.cpp:535
BError setSockOpt(int level, int optname, void *optval, unsigned int optlen)
Definition BSocket.cpp:621
BError recv(void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0)
Definition BSocket.cpp:520
BError sendChunks(const BDataChunk *chunks, BSize nChunks, BSize &nbytesSent, int flags=0)
Definition BSocket.cpp:492
BError sendTo(const BSocketAddress &address, const void *buf, BSize nbytes, BSize &nbytesSent, int flags=0)
Definition BSocket.cpp:462
BError recvFromWithTimeout(BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int timeout, int flags=0)
Definition BSocket.cpp:573
BError recvFrom(BSocketAddress &address, void *buf, BSize maxbytes, BSize &nbytesRecv, int flags=0)
Definition BSocket.cpp:557
Generated by
