dfl2 v1.0.3 (2014-11-03T16:58:07Z)
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);
uint
sendBytes
[@property getter];
uint
receiveBytes
[@property getter];
void
event
(DflSocket _sock, EventType type, int err);
void
readEvent
();
void
writeEvent
();
alias
recvBytes
=
receiveBytes
;
alias
recv
=
receive
;
}
Constructors
this
this
(DflSocket sock)
Members
Aliases
recv
deprecated
alias
recv
=
receive
Undocumented in source.
recvBytes
deprecated
alias
recvBytes
=
receiveBytes
Undocumented in source.
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
uint
sendBytes
[@property getter]
socket
DflSocket
socket
[@property getter]
Meta
Source
See Implementation
dfl
socket
aliases
DflSocket
GetHostCallback
RegisterEventCallback
classes
AsyncSocket
AsyncTcpSocket
AsyncUdpSocket
GetHost
SocketQueue
enums
EventType
functions
asyncGetHostByAddr
asyncGetHostByName
registerEvent
unregisterEvent