---
title: "current socket · RUAL Documentation"
description: "The realtime socket the running method or trigger came from. A RUAL realtime block in the socket group. See its 8 output pins and its version history."
canonical: https://docs.rual.nl/block-types/realtime/socket_current
language: en
---

# current socket

This block is part of the [`realtime`](https://docs.rual.nl/block-types/realtime) group and was last modified in core [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

The realtime socket the running method or trigger came from.

- socket `socketconnection`

- socket id `value`

- session id `value`

- user guid `value`

- device type `value`

- flags `object`

- ip `value`

- read limit `number` The largest frame the socket accepts now, in bytes.

Outputs the socket of the run (a socket method or a socket trigger) as it is now: its session and user change when socket_session_open opens a session in the middle of the run, which the socket parameter does not show. Empty outputs on any other entry point.

## Version history

Introduced in [`v15.0.2`](https://docs.rual.nl/core-versions/150002).

- [`v15.0.2`](https://docs.rual.nl/core-versions/150002): block added in this release.

- [Back to `realtime`](https://docs.rual.nl/block-types/realtime): Return to the main group to view all sub-groups

- [Back to `socket`](https://docs.rual.nl/block-types/realtime?group=socket): Return to the group to view all blocks within this group
