vibe.d beta banner
get vibe.d
0.8.2

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

Module vibe.core.net

TCP/UDP connection and server handling.

Functions

NameDescription
anyAddress()
connectTCP(host, port, bind_interface, bind_port)Establishes a connection to the given host/port.
listenTCP(port, connection_callback, options)Starts listening on the specified port.
listenTCP_s(port, connection_callback, options)Starts listening on the specified port.
listenUDP(port, bind_address)Creates a bound UDP socket suitable for sending and receiving packets.
resolveHost(host, address_family, use_dns)Resolves the given host name/IP address string.

Interfaces

NameDescription
TCPConnectionRepresents a single TCP connection.
TCPListenerRepresents a listening TCP socket.
UDPConnectionRepresents a bound and possibly 'connected' UDP socket.

Structs

NameDescription
NetworkAddressRepresents a network/socket address.

Enums

NameDescription
TCPListenOptionsFlags to control the behavior of listenTCP.
Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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