Module vibe.core.net

TCP/UDP connection and server handling.

Functions

Name Description
connectTCP Establishes a connection to the given host/port.
listenTCP Starts listening on the specified port.
listenTCP_s Starts listening on the specified port.
listenUDP Creates a bound UDP socket suitable for sending and receiving packets.
resolveHost Resolves the given host name/IP address string.

Interfaces

Name Description
TCPConnection Represents a single TCP connection.
TCPListener Represents a listening TCP socket.
UDPConnection Represents a bound and possibly 'connected' UDP socket.

Structs

Name Description
NetworkAddress Represents a network/socket address.

Enums

Name Description
TCPListenOptions

Aliases

Name Type Description
connectTcp Compatibility alias, will be deprecated soon.
listenTcp Compatibility alias, will be deprecated soon.
listenTcpS Compatibility alias, will be deprecated soon.
listenUdp Compatibility alias, will be deprecated soon.
TcpConnection TCPConnection Compatibility alias, will be deprecated soon.
TcpListener TCPListener Compatibility alias, will be deprecated soon.
TcpListenOptions TCPListenOptions Compatibility alias, will be deprecated soon.
UdpConnection UDPConnection Compatibility alias, will be deprecated soon.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

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