GInetSocketAddress {RGtk2} | R Documentation

## GInetSocketAddress

### Description

Internet GSocketAddress

### Methods and Functions

`gInetSocketAddressNew(address, port)`
`gInetSocketAddressGetAddress(object)`
`gInetSocketAddressGetPort(object)`
`gInetSocketAddress(address, port)`

### Hierarchy

    GObject
       +----GSocketAddress
             +----GInetSocketAddress

### Interfaces

GInetSocketAddress implements `GSocketConnectable`.

### Detailed Description

An IPv4 or IPv6 socket address; that is, the combination of a `GInetAddress` and a port number.

### Structures

`GInetSocketAddress`

  An IPv4 or IPv6 socket address, corresponding to a `struct sockaddr_in` or `structsockaddr_in6`.

### Convenient Construction

`gInetSocketAddress` is the equivalent of `gInetSocketAddressNew`.

### Properties

`address` [`GInetAddress` : * : Read / Write / Construct Only]

  The address.

`port` [numeric : Read / Write / Construct Only]

  The port. Allowed values: <= 65535 Default value: 0

### Author(s)

Derived by RGtkGen from GTK+ documentation

### References

https://developer.gnome.org/gio/stable/GInetSocketAddress.html

[Package RGtk2 version 2.20.36.3 Index]