|
enum | MFAddressFamily {
MFAF_Unknown = -1,
MFAF_Unspecified = 0,
MFAF_Unix = 1,
MFAF_Inet = 2,
MFAF_IPX = 6,
MFAF_NetBios = 17,
MFAF_Inet6 = 23,
MFAF_IRDA = 26,
MFAF_Max = 32,
MFAF_ForceInt = 0x7FFFFFFF
} |
| Address Family. More...
|
|
enum | MFSocketType {
MFSockType_Unknown = -1,
MFSockType_Stream = 1,
MFSockType_Datagram,
MFSockType_Raw,
MFSockType_RDMessage,
MFSockType_SeqPacket,
MFSockType_Max,
MFSockType_ForceInt = 0x7FFFFFFF
} |
| Socket Type. More...
|
|
enum | MFSocketProtocol {
MFProtocol_Unknown = -1,
MFProtocol_IP = 0,
MFProtocol_ICMP = 1,
MFProtocol_IGMP = 2,
MFProtocol_IPV4 = 4,
MFProtocol_TCP = 6,
MFProtocol_PUP = 12,
MFProtocol_UDP = 17,
MFProtocol_IDP = 22,
MFProtocol_IPV6 = 41,
MFProtocol_ROUTING = 43,
MFProtocol_FRAGMENT = 44,
MFProtocol_ESP = 50,
MFProtocol_AH = 51,
MFProtocol_ICMPV6 = 58,
MFProtocol_NONE = 59,
MFProtocol_DSTOPTS = 60,
MFProtocol_Raw = 255,
MFProtocol_Max = 256,
MFProtocol_ForceInt = 0x7FFFFFFF
} |
| Socket Protocol. More...
|
|
enum | MFSocketOptions { MFSO_NonBlocking,
MFSO_Max,
MFSO_ForceInt = 0x7FFFFFFF
} |
| Socket Options. More...
|
|
enum | MFSocketError { , MFSockError_ForceInt = 0x7FFFFFFF
} |
| Socket errors. More...
|
|
|
MFInetAddress | MFSockets_MakeInetAddress (uint8 b1, uint8 b2, uint8 b3, uint8 b4) |
| Build an MFInetAddress structure from 4 byte values. More...
|
|
MFInetAddress | MFSockets_MakeInetAddressFromString (const char *pIPString) |
| Build an MFInetAddress structure from a string. More...
|
|
MFInet6Address | MFSockets_MakeInet6Address (uint16 s1, uint16 s2, uint16 s3, uint16 s4, uint16 s5, uint16 s6, uint16 s7, uint16 s8) |
| Build an MFInet6Address structure from 8 unsigned short values. More...
|
|
MFInet6Address | MFSockets_MakeInet6AddressFromString (const char *pIP6String) |
| Build an MFInet6Address structure from a string. More...
|
|
const char * | MFSockets_GetAddressString (const MFSocketAddress &address) |
| Generate a string representing the specified network address. More...
|
|
bool | MFSockets_IsActive () |
| Check if the Fuji socket layer is active. More...
|
|
MFSocket | MFSockets_CreateSocket (MFAddressFamily addressFamily, MFSocketType type, int protocol) |
| Create a socket. More...
|
|
int | MFSockets_CloseSocket (MFSocket socket) |
| Close a socket. More...
|
|
int | MFSockets_Bind (MFSocket socket, const MFSocketAddress &address) |
| Associate a local address with a socket. More...
|
|
int | MFSockets_Connect (MFSocket socket, const MFSocketAddress &address) |
| Connect to a remote socket. More...
|
|
int | MFSockets_Listen (MFSocket socket, int backlog) |
| Listen for an incoming connection. More...
|
|
MFSocket | MFSockets_Accept (MFSocket socket, MFSocketAddress *pConnectingSocketAddress) |
| Accept an incoming connection request. More...
|
|
int | MFSockets_Send (MFSocket socket, const char *pBuffer, int bufferLength, uint32 flags) |
| Send data on a connected socket. More...
|
|
int | MFSockets_SendTo (MFSocket socket, const char *pBuffer, int bufferLength, uint32 flags, const MFSocketAddress *pAddress) |
| Send data to a specific destination. More...
|
|
int | MFSockets_Recv (MFSocket socket, char *pBuffer, int bufferSize, uint32 flags) |
| Receive data from a connected or bound socket. More...
|
|
int | MFSockets_RecvFrom (MFSocket socket, char *pBuffer, int bufferSize, uint32 flags, MFSocketAddress *pSenderAddress) |
| Receive a datagram and stores the source address. More...
|
|
int | MFSockets_GetAddressInfo (const char *pAddress, const char *pServiceName, const MFAddressInfo *pHint, MFAddressInfo **ppAddressInfo) |
| Get the address info for a network address. More...
|
|
int | MFSockets_SetSocketOptions (MFSocket socket, MFSocketOptions option, const void *optval, int optlen) |
| Set a socket option. More...
|
|
MFSocketError | MFSockets_GetLastError () |
| Get the last socket error. More...
|
|