The OpenD Programming Language

Protocol.netInterface

The network interface to use in form of the IP of the interface.

  1. const(char)[] netInterface [@property setter]
    mixintemplate Protocol()
    @property
    void
    netInterface
    (
    const(char)[] i
    )
  2. const(ubyte)[4] netInterface [@property setter]
  3. InternetAddress netInterface [@property setter]

Examples

theprotocol.netInterface = "192.168.1.32";
theprotocol.netInterface = [ 192, 168, 1, 32 ];

See: std.socket.InternetAddress

Meta