# \#inet

**URL:** https://erlangforums.com/tag/inet/696.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Stale send-timeout timers after a large TCP send with port\_command(..., \[force\])](https://erlangforums.com/t/stale-send-timeout-timers-after-a-large-tcp-send-with-port-command-force/6025)

<div class="topic-metadata">

**Author:** [@EarthOLPoorPlayer](https://erlangforums.com/u/EarthOLPoorPlayer)\
**Replies:** 4\
**Last updated:** [October 5, 2026, 1:17pm UTC](https://erlangforums.com/t/stale-send-timeout-timers-after-a-large-tcp-send-with-port-command-force/6025 "2026-10-05T13:17:27Z")

</div>

Hi, I think I found a possible timer bookkeeping issue in OTP 24’s inet\_drv. The problem appears when a large TCP payload is followed by several smaller payloads, while the application uses: erlang:port\_command(Socket…

---

## [Inet:getaddr/3 is supported?](https://erlangforums.com/t/inet-getaddr-3-is-supported/5528)

<div class="topic-metadata">

**Author:** [@meox](https://erlangforums.com/u/meox)\
**Replies:** 5\
**Last updated:** [April 8, 2026, 9:39am UTC](https://erlangforums.com/t/inet-getaddr-3-is-supported/5528 "2026-04-08T09:39:05Z")

</div>

Is the inet:getaddr/3 supported? we see that is exported by is marked with: “-doc false”

---

## [Does all data passed to gen\_tcp:send/2 eventually get sent when it returns timeout?](https://erlangforums.com/t/does-all-data-passed-to-gen-tcp-send-2-eventually-get-sent-when-it-returns-timeout/5459)

<div class="topic-metadata">

**Author:** [@zuiderkwast](https://erlangforums.com/u/zuiderkwast)\
**Replies:** 5\
**Last updated:** [March 17, 2026, 1:31pm UTC](https://erlangforums.com/t/does-all-data-passed-to-gen-tcp-send-2-eventually-get-sent-when-it-returns-timeout/5459 "2026-03-17T13:31:32Z")

</div>

gen\_tcp:send/2 can hang when the OS send buffer is full and inet’s internal send buffer reaches the high watermark. When the call hangs, it makes the process unresponsive. To prevent gen\_tcp:send/2 from hanging, it’s po…

---

## [What does the send\_timeout option achieve mean in inet:setopts?](https://erlangforums.com/t/what-does-the-send-timeout-option-achieve-mean-in-inet-setopts/4374)

<div class="topic-metadata">

**Author:** [@NAR](https://erlangforums.com/u/NAR)\
**Replies:** 1\
**Last updated:** [January 10, 2025, 1:26pm UTC](https://erlangforums.com/t/what-does-the-send-timeout-option-achieve-mean-in-inet-setopts/4374 "2025-01-10T13:26:12Z")

</div>

The documentation for send\_timeout says that Specifies a longest time to wait for a send operation to be accepted by the underlying TCP stack. When the limit is exceeded, the send operation returns {error, timeout} . …

---

## [How to check if unix domain socket client is listening on the other side](https://erlangforums.com/t/how-to-check-if-unix-domain-socket-client-is-listening-on-the-other-side/3859)

<div class="topic-metadata">

**Author:** [@codeadict](https://erlangforums.com/u/codeadict)\
**Replies:** 2\
**Last updated:** [July 25, 2024, 3:03pm UTC](https://erlangforums.com/t/how-to-check-if-unix-domain-socket-client-is-listening-on-the-other-side/3859 "2024-07-25T15:03:41Z")

</div>

Hi all, I have a TCP client connected to a UNIX domain socket with gen\_tcp with: {ok, port} = gen\_tcp:connect({local, "/tmp/cool.sock"}, 0, \[{active, false}, {packet, raw}\]) If I kill the OS process that serves in /tm…

---

## [\`tcp\_inet\` driver crashes with largest allowed \`fd\`](https://erlangforums.com/t/tcp-inet-driver-crashes-with-largest-allowed-fd/3633)

<div class="topic-metadata">

**Author:** [@NelsonVides](https://erlangforums.com/u/NelsonVides)\
**Replies:** 4\
**Last updated:** [May 20, 2024, 9:52pm UTC](https://erlangforums.com/t/tcp-inet-driver-crashes-with-largest-allowed-fd/3633 "2024-05-20T21:52:21Z")

</div>

I’m getting the following error reports, and I’m clueless what to do about these: =ERROR REPORT==== 19-May-2024::16:17:33.621905 === driver\_select(0x0000000163f77178, 24581, ERL\_DRV\_WRITE ERL\_DRV\_USE, 1) by tcp\_inet dri…

---

## [Changing TCP packet format](https://erlangforums.com/t/changing-tcp-packet-format/3629)

<div class="topic-metadata">

**Author:** [@LesserCheese](https://erlangforums.com/u/LesserCheese)\
**Replies:** 3\
**Last updated:** [May 16, 2024, 7:52pm UTC](https://erlangforums.com/t/changing-tcp-packet-format/3629 "2024-05-16T19:52:38Z")

</div>

I have to deal with a TCP connection from other software where the format of a “packet” changes. It starts out as text delimited by newline characters but at a certain point needs to change to {packet,4} format, with a …

---

## [inet\_res.resolve/5 works only with limited dns classes and types](https://erlangforums.com/t/inet-res-resolve-5-works-only-with-limited-dns-classes-and-types/3013)

<div class="topic-metadata">

**Author:** [@D4no0](https://erlangforums.com/u/D4no0)\
**Replies:** 3\
**Last updated:** [November 13, 2023, 3:51pm UTC](https://erlangforums.com/t/inet-res-resolve-5-works-only-with-limited-dns-classes-and-types/3013 "2023-11-13T15:51:37Z")

</div>

I am working currently on a project where I have to check for DNSSEC for specific zones, meaning I need to query for RRSIG records. I tried to use inet\_res.resolve/5, however if you look at the types it can operate on h…
