SocketAddress.hx 346 B

123456789101112131415
  1. package asys.net;
  2. /**
  3. Reperesents the address of a connected or bound `Socket` object.
  4. **/
  5. enum SocketAddress {
  6. /**
  7. Address of a socket connected or bound to an IPv4 or IPv6 address and port.
  8. **/
  9. Network(address:Address, port:Int);
  10. /**
  11. Filepath of a IPC pipe (Windows named pipe or Unix local domain socket).
  12. **/
  13. Unix(path:String);
  14. }