dfl2 ~master (2016-08-11T09:58:17Z)
Home
Dub
Repo
SocketQueue
dfl
socket
version
(!
DFL_NoSocket
)
class
SocketQueue {
this
(
DflSocket
sock
)
;
DflSocket
socket
[@property getter];
void
reset
()
;
void
[]
peek
()
;
void
[]
peek
(
uint
len
)
;
void
[]
receive
()
;
void
[]
receive
(
uint
len
)
;
void
send
(
void
[]
buf
)
;
size_t
sendBytes
[@property getter];
uint
receiveBytes
[@property getter];
void
event
(
DflSocket
_sock
,
EventType
type
,
int
err
)
;
void
readEvent
()
;
void
writeEvent
()
;
}
Constructors
this
this
(
DflSocket
sock
)
Members
Functions
event
void
event
(
DflSocket
_sock
,
EventType
type
,
int
err
)
peek
void
[]
peek
()
void
[]
peek
(
uint
len
)
readEvent
void
readEvent
()
receive
void
[]
receive
()
void
[]
receive
(
uint
len
)
reset
void
reset
()
send
void
send
(
void
[]
buf
)
writeEvent
void
writeEvent
()
Properties
receiveBytes
uint
receiveBytes
[@property getter]
sendBytes
size_t
sendBytes
[@property getter]
socket
DflSocket
socket
[@property getter]
Meta
Source
See Implementation
dfl
socket
aliases
GetHostCallback
RegisterEventCallback
classes
AsyncSocket
AsyncTcpSocket
AsyncUdpSocket
GetHost
SocketQueue
enums
EventType
functions
asyncGetHostByAddr
asyncGetHostByName