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 Deprecated compatibility alias
listenTcp Deprecated compatibility alias
listenTcpS Deprecated compatibility alias
listenUdp Deprecated compatibility alias
TcpConnection TCPConnection Deprecated compatibility alias
TcpListener TCPListener Deprecated compatibility alias
TcpListenOptions TCPListenOptions Deprecated compatibility alias
UdpConnection UDPConnection Deprecated compatibility alias

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.