Returns a new host. All arguments are optional.
A bind_address of nil makes a host that can not be connected to (typically a client). Otherwise the address can either be of the form <ipaddress>:<port>, <hostname>:<port>, or *:<port>.
Example addresses include "127.0.0.1:8888", "localhost:2232", and "*:6767".
host = enet.host_create(bind_address, peer_count, channel_count, in_bandwidth, out_bandwidth)
string bind_address
number peer_count
number in_bandwidth
number channel_count
number out_bandwidth
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/enet:host_create