Gio.Socket.prototype.get_blocking
function get_blocking(): Boolean {
// Gjs wrapper for g_socket_get_blocking()
}
Gets the blocking mode of the socket. For details on blocking I/O, see Gio.Socket.prototype.set_blocking.
Since 2.22
- Returns
true if blocking I/O is used, false otherwise.