vibe.d beta banner
get vibe.d
0.8.4

Asynchronous I/O that doesn’t get in your way, written in D

Struct TCPConnection

Represents a single TCP connection.

struct TCPConnection ;

Properties

NameTypeDescription
connected[get] bool
dataAvailableForRead[get] bool
empty[get] bool
keepAlive[set] bool
keepAlive[get] bool
leastSize[get] ulong
localAddress[get] NetworkAddress
peerAddress[get] string
readTimeout[set] core.time.Duration
readTimeout[get] core.time.Duration
remoteAddress[get] NetworkAddress
tcpNoDelay[set] bool
tcpNoDelay[get] bool

Methods

NameDescription
close
finalize
flush
opCast
peek
read
read
skip
waitForData
waitForDataAsync Waits asynchronously for new data to arrive.
write
write
write
write
write

Inner structs

NameDescription
Context
Authors

Sönke Ludwig

Copyright

© 2012-2016 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.