# \#socket

**URL:** https://discuss.ocaml.org/tag/socket/223.md

[Latest](https://discuss.ocaml.org/latest.md) · [Categories](https://discuss.ocaml.org/categories.md) · [Tags](https://discuss.ocaml.org/tags.md)

---

## [Notty+Unix socket in separate domains: UI update stop for some reason](https://discuss.ocaml.org/t/notty-unix-socket-in-separate-domains-ui-update-stop-for-some-reason/17911)

<div class="topic-metadata">

**Author:** [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Replies:** 2\
**Last updated:** [March 24, 2026, 11:04am UTC](https://discuss.ocaml.org/t/notty-unix-socket-in-separate-domains-ui-update-stop-for-some-reason/17911 "2026-03-24T11:04:57Z")

</div>

This is my first time experimenting with Notty, and the goal is to implement a monitoring systems that receives something via Unix socket and paints it. I used this notty demo because it uses timer to periodically upda…

---

## [Waiting in Eio for socket data without reading it](https://discuss.ocaml.org/t/waiting-in-eio-for-socket-data-without-reading-it/17615)

<div class="topic-metadata">

**Author:** [@vog](https://discuss.ocaml.org/u/vog)\
**Replies:** 1\
**Last updated:** [December 20, 2025, 2:35pm UTC](https://discuss.ocaml.org/t/waiting-in-eio-for-socket-data-without-reading-it/17615 "2025-12-20T14:35:11Z")

</div>

I’d like to wrap a C library for use within Eio code. That library opens a network connection on its own, but I’m able to fetch the file descriptor of the open socket. It even operates in non-blocking mode. But how do I…

---

## [Unix sockets on Windows and Node.js](https://discuss.ocaml.org/t/unix-sockets-on-windows-and-node-js/15775)

<div class="topic-metadata">

**Author:** [@amaro](https://discuss.ocaml.org/u/amaro)\
**Replies:** 1\
**Last updated:** [December 11, 2024, 6:30am UTC](https://discuss.ocaml.org/t/unix-sockets-on-windows-and-node-js/15775 "2024-12-11T06:30:33Z")

</div>

I have a Node.js application using Unix sockets which works on Linux, but I’m trying to make it work on Windows. My socket has a name similar to C:\\PathTo\\socket.sock. The following code seems to work: let addr = "C:\\\\…

---

## [Any "socket over ssh" library in OCaml?](https://discuss.ocaml.org/t/any-socket-over-ssh-library-in-ocaml/9189)

<div class="topic-metadata">

**Author:** [@UnixJunkie](https://discuss.ocaml.org/u/UnixJunkie)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 1:19pm UTC](https://discuss.ocaml.org/t/any-socket-over-ssh-library-in-ocaml/9189 "2022-01-20T13:19:41Z")

</div>

Hello, Is there a simple, programmatic way, to connect two ocaml programs running on different computers using a socket which is ssh-encapsulated? I would like to write a distributed program where the only prerequis…

---

## [Using streams for socket server \<--\> client communication](https://discuss.ocaml.org/t/using-streams-for-socket-server-client-communication/2085)

<div class="topic-metadata">

**Author:** [@ryyppy](https://discuss.ocaml.org/u/ryyppy)\
**Replies:** 1\
**Last updated:** [June 2, 2018, 9:47pm UTC](https://discuss.ocaml.org/t/using-streams-for-socket-server-client-communication/2085 "2018-06-02T21:47:55Z")

</div>

Hey everyone! I am currently trying to build a TCP socket server, which has a conversation with a client via the unrepl protocol. So far I got the initial handshake working, so the server is saying “hello” on each clien…
