c_sockaddr_un type
Direct parent types
- c_sockaddr
Undocumented Direct subtypes: 2
Constructors
- c_sockaddr_un()
Undocumented
- c_sockaddr_un(path:Str)
Undocumented
Methods
- .(obj:c_sockaddr_un, field:Str)
Get c_sockaddr_un field. Throws FieldNotFound. Automatically called by NGS for syntax
obj.field
Parameters
field One of: "sun_family", "sun_path" Returns
Int for "sun_family", Str for "sun_path"Example
c_sockaddr_un("/tmp/my.sock").sun_path # "/tmp/my.sock"
- c_bind(socket:Int, address:c_sockaddr_un)
Undocumented
- c_connect(socket:Int, address:c_sockaddr_un)
Undocumented