dfl.socket

Undocumented in source.

Members

Aliases

DflSocket
alias DflSocket = std.socket.Socket
Undocumented in source.
GetHostCallback
alias GetHostCallback = void delegate(DInternetHost inetHost, int err)
Undocumented in source.
RegisterEventCallback
alias RegisterEventCallback = void delegate(DflSocket sock, EventType type, int err)
Undocumented in source.

Classes

AsyncSocket
class AsyncSocket
Undocumented in source.
AsyncTcpSocket
class AsyncTcpSocket
Undocumented in source.
AsyncUdpSocket
class AsyncUdpSocket
Undocumented in source.
GetHost
class GetHost
Undocumented in source.
SocketQueue
class SocketQueue
Undocumented in source.

Enums

EventType
enum EventType
Undocumented in source.

Functions

asyncGetHostByAddr
GetHost asyncGetHostByAddr(uint32_t addr, GetHostCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
asyncGetHostByAddr
GetHost asyncGetHostByAddr(Dstring addr, GetHostCallback callback)

ditto

asyncGetHostByName
GetHost asyncGetHostByName(Dstring name, GetHostCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
registerEvent
void registerEvent(DflSocket sock, EventType events, RegisterEventCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
unregisterEvent
void unregisterEvent(DflSocket sock)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta