# \#tcp-sockets

**URL:** https://forums.digi.com/tag/tcp-sockets/81.md

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

---

## [XBee 3 Global LTE Cat 1 TCP server accepts handshake but closes before acknowledging first Modbus/TCP request](https://forums.digi.com/t/xbee-3-global-lte-cat-1-tcp-server-accepts-handshake-but-closes-before-acknowledging-first-modbus-tcp-request/38652)

<div class="topic-metadata">

**Author:** [@mkconspec](https://forums.digi.com/u/mkconspec)\
**Replies:** 1\
**Last updated:** [August 19, 2026, 2:20pm UTC](https://forums.digi.com/t/xbee-3-global-lte-cat-1-tcp-server-accepts-handshake-but-closes-before-acknowledging-first-modbus-tcp-request/38652 "2026-08-19T14:20:34Z")

</div>

We are seeing a second failure pattern with the same XBee 3 Global LTE Cat 1 configuration: Firmware 11521 Transparent TCP Server on port 502 Modbus TCP client on Windows XBee TS = 7.5 seconds Cellular private network …

---

## [XBee 3 Global LTE Cat 1 Transparent TCP Server stops answering new SYNs after silent network interruption(?)](https://forums.digi.com/t/xbee-3-global-lte-cat-1-transparent-tcp-server-stops-answering-new-syns-after-silent-network-interruption/38650)

<div class="topic-metadata">

**Author:** [@mkconspec](https://forums.digi.com/u/mkconspec)\
**Replies:** 3\
**Last updated:** [August 19, 2026, 2:16pm UTC](https://forums.digi.com/t/xbee-3-global-lte-cat-1-transparent-tcp-server-stops-answering-new-syns-after-silent-network-interruption/38650 "2026-08-19T14:16:14Z")

</div>

We are using Digi XBee 3 Global LTE Cat 1 modules as Modbus TCP servers in Transparent Mode. Configuration: Module: XBee 3 Global LTE Cat 1 (XB3-C-G1-UT-001) Firmware: 11521 Transparent TCP Server, listening on port 5…

---

## [Unable to perform lookup (ATLA) after network registration - DNS servers both 0.0.0.0?](https://forums.digi.com/t/unable-to-perform-lookup-atla-after-network-registration-dns-servers-both-0-0-0-0/26117)

<div class="topic-metadata">

**Author:** [@Firmware](https://forums.digi.com/u/Firmware)\
**Replies:** 4\
**Last updated:** [June 27, 2023, 12:10am UTC](https://forums.digi.com/t/unable-to-perform-lookup-atla-after-network-registration-dns-servers-both-0-0-0-0/26117 "2023-06-27T00:10:37Z")

</div>

Hi, I feel like I must be making a rookie mistake. Once my cell modem is registered (ATAI is 0, I’ve got an IP address, etc.) and I try to convert a domain name (e.g. www.google.com) to an IP address via the ATLA comma…

---

## [PortServer TS4 ME is automatically changes baud rate for TCP connection](https://forums.digi.com/t/portserver-ts4-me-is-automatically-changes-baud-rate-for-tcp-connection/25248)

<div class="topic-metadata">

**Author:** [@SystemsTech](https://forums.digi.com/u/SystemsTech)\
**Replies:** 0\
**Last updated:** [April 28, 2023, 5:55pm UTC](https://forums.digi.com/t/portserver-ts4-me-is-automatically-changes-baud-rate-for-tcp-connection/25248 "2023-04-28T17:55:11Z")

</div>

I’m having an issue with the baud rate auto changing on a TCP Sockets profile. The digi is connected to a scale device via rs232. I have a couple windows touch screens and a server looking at the raw port of the digi(210…

---

## [SSH / Telnet access to port assigned IP address bring DIGI port selection instead of port console | Digi Passport 32](https://forums.digi.com/t/ssh-telnet-access-to-port-assigned-ip-address-bring-digi-port-selection-instead-of-port-console-digi-passport-32/23117)

<div class="topic-metadata">

**Author:** [@boris198](https://forums.digi.com/u/boris198)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 8:00am UTC](https://forums.digi.com/t/ssh-telnet-access-to-port-assigned-ip-address-bring-digi-port-selection-instead-of-port-console-digi-passport-32/23117 "2022-06-15T08:00:15Z")

</div>

I am using ~30 DIGI console servers Most of them are Passport 23 but part are CM32 All ports has assigned IP address that allow direct connection to console port of connected device. I observing access issue accessing…

---

## [is there a stock application that would create outbound tcp sockets for each xbee node](https://forums.digi.com/t/is-there-a-stock-application-that-would-create-outbound-tcp-sockets-for-each-xbee-node/22842)

<div class="topic-metadata">

**Author:** [@kcarmich](https://forums.digi.com/u/kcarmich)\
**Replies:** 0\
**Last updated:** [December 8, 2021, 12:09pm UTC](https://forums.digi.com/t/is-there-a-stock-application-that-would-create-outbound-tcp-sockets-for-each-xbee-node/22842 "2021-12-08T12:09:01Z")

</div>

Currently I have a connectport X2, I would like to use this zigbee gateway to make outbound tcp sockets to my linux server for each zigbee node that I have in my network. Is this something that already exists?

---

## [Serial Port assigned IP/Port](https://forums.digi.com/t/serial-port-assigned-ip-port/22725)

<div class="topic-metadata">

**Author:** [@stazang](https://forums.digi.com/u/stazang)\
**Replies:** 0\
**Last updated:** [October 7, 2021, 9:54am UTC](https://forums.digi.com/t/serial-port-assigned-ip-port/22725 "2021-10-07T09:54:57Z")

</div>

I have configured IP for serial port with tcp port 7045 but when I telnet to that IP I can literarily specify any port I want and it connects. Any way to limit this to only designated ports like 23 and 7045?

---

## ['\\xFF' is transmitted twice under profile "TCP Sockets"](https://forums.digi.com/t/xff-is-transmitted-twice-under-profile-tcp-sockets/22465)

<div class="topic-metadata">

**Author:** [@LTTEY](https://forums.digi.com/u/LTTEY)\
**Replies:** 0\
**Last updated:** [June 9, 2021, 9:13am UTC](https://forums.digi.com/t/xff-is-transmitted-twice-under-profile-tcp-sockets/22465 "2021-06-09T09:13:52Z")

</div>

I am using following Digi PortServer Model: PortServer TS 4 MEI Firmware Version: Version 82000747\_X 02/07/2018 My current system requirement is to communicate with a serial device through ethernet connection, so we a…

---

## [Extended udp sockets only send at max 512 bytes](https://forums.digi.com/t/extended-udp-sockets-only-send-at-max-512-bytes/22357)

<div class="topic-metadata">

**Author:** [@mschmeisser](https://forums.digi.com/u/mschmeisser)\
**Replies:** 3\
**Last updated:** [April 22, 2021, 4:41pm UTC](https://forums.digi.com/t/extended-udp-sockets-only-send-at-max-512-bytes/22357 "2021-04-22T16:41:57Z")

</div>

I create am trying to receive large udp payloads, however the 0xCE api frame only ever has up to 512 bytes. Socket creation process: Create new UDP socket with api frame 0x40 Bind socket to port 4445 with frame 0x46 w…

---

## [Trying to send a short message using TCP or UDP sockets and then read the short response through the same socket](https://forums.digi.com/t/trying-to-send-a-short-message-using-tcp-or-udp-sockets-and-then-read-the-short-response-through-the-same-socket/15068)

<div class="topic-metadata">

**Author:** [@PatrickT](https://forums.digi.com/u/PatrickT)\
**Replies:** 4\
**Last updated:** [March 1, 2021, 7:44am UTC](https://forums.digi.com/t/trying-to-send-a-short-message-using-tcp-or-udp-sockets-and-then-read-the-short-response-through-the-same-socket/15068 "2021-03-01T07:44:09Z")

</div>

I am using Dynamic C V9.62 to develop on a BL2600 SBC. Essentially, I want to open a socket to a remote instrument (IP:PORT), send a short message to that instrument, and then read the instrument’s reply through the sam…

---

## [Xbee3 module in bypass mode does not responds sometimes](https://forums.digi.com/t/xbee3-module-in-bypass-mode-does-not-responds-sometimes/22144)

<div class="topic-metadata">

**Author:** [@rutvij.trivedi](https://forums.digi.com/u/rutvij.trivedi)\
**Replies:** 1\
**Last updated:** [February 16, 2021, 1:48pm UTC](https://forums.digi.com/t/xbee3-module-in-bypass-mode-does-not-responds-sometimes/22144 "2021-02-16T13:48:14Z")

</div>

Hi, I am working with Xbee3 module for cellular connectivity. This module is configured in bypass mode to directly access u-blox sara r4 functionalities. I am currently running tcp-socket operations to communicate wit…

---

## [Connection reset by peer (tcp\_socket)](https://forums.digi.com/t/connection-reset-by-peer-tcp-socket/21750)

<div class="topic-metadata">

**Author:** [@JPal](https://forums.digi.com/u/JPal)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 2:24am UTC](https://forums.digi.com/t/connection-reset-by-peer-tcp-socket/21750 "2020-09-15T02:24:21Z")

</div>

Hello, I communicate between my card and my server due to interrupt function. When my client (card RABBIT BL4S100) use the button, I create a socket between my server and my client to receive the state of my client. My …

---

## [XBee3 LTE-M/NB-IoT Unable to make incoming TCP connections after waking from cyclic sleep](https://forums.digi.com/t/xbee3-lte-m-nb-iot-unable-to-make-incoming-tcp-connections-after-waking-from-cyclic-sleep/21740)

<div class="topic-metadata">

**Author:** [@DonaldB](https://forums.digi.com/u/DonaldB)\
**Replies:** 11\
**Last updated:** [September 11, 2020, 9:42am UTC](https://forums.digi.com/t/xbee3-lte-m-nb-iot-unable-to-make-incoming-tcp-connections-after-waking-from-cyclic-sleep/21740 "2020-09-11T09:42:35Z")

</div>

I am currently evaluating the XBee3 Cellular LTE-M/NB-IoT for use in one of our products. I have been experimenting with cyclic sleep mode and incoming TCP connections and I believe that I have found a bug. Here is wha…

---

## [XBee3 LTE-M/NB-IoT Listener socket closed shortly after creating listener socket](https://forums.digi.com/t/xbee3-lte-m-nb-iot-listener-socket-closed-shortly-after-creating-listener-socket/21742)

<div class="topic-metadata">

**Author:** [@DonaldB](https://forums.digi.com/u/DonaldB)\
**Replies:** 6\
**Last updated:** [September 10, 2020, 10:33am UTC](https://forums.digi.com/t/xbee3-lte-m-nb-iot-listener-socket-closed-shortly-after-creating-listener-socket/21742 "2020-09-10T10:33:17Z")

</div>

I have been testing the XBee3 LTE-M/NB-IoT with incoming TCP connections and I have been seeing some strange behaviour when using extended socket frames. I create a socket using the Socket Create frame and then set it t…

---

## [C Ansi library socket APIs](https://forums.digi.com/t/c-ansi-library-socket-apis/21328)

<div class="topic-metadata">

**Author:** [@rutvij.trivedi](https://forums.digi.com/u/rutvij.trivedi)\
**Replies:** 21\
**Last updated:** [September 1, 2020, 9:23am UTC](https://forums.digi.com/t/c-ansi-library-socket-apis/21328 "2020-09-01T09:23:34Z")

</div>

Hi, I am working with the Xbee3 LTE-M module and microcontroller unit. I want to make a network interface layer using the LTE module and in doing so I need to implement socket calls(create, send, receive, etc) which in…

---

## [naSslNgConnect blocking issue on ConnectME-C](https://forums.digi.com/t/nasslngconnect-blocking-issue-on-connectme-c/21467)

<div class="topic-metadata">

**Author:** [@ebernste1234](https://forums.digi.com/u/ebernste1234)\
**Replies:** 2\
**Last updated:** [June 16, 2020, 8:24am UTC](https://forums.digi.com/t/nasslngconnect-blocking-issue-on-connectme-c/21467 "2020-06-16T08:24:36Z")

</div>

I am using the DigiESP (latest patched version) to compile code for a ConnectME(custom firmware). We have seen a lot of issues connecting to an SSL socket, when there are intermittent internet connection issues. I am try…

---

## [Micropython - TCP Header - Maximum Segment Size - MSS](https://forums.digi.com/t/micropython-tcp-header-maximum-segment-size-mss/21411)

<div class="topic-metadata">

**Author:** [@gopinaath](https://forums.digi.com/u/gopinaath)\
**Replies:** 0\
**Last updated:** [May 28, 2020, 9:39am UTC](https://forums.digi.com/t/micropython-tcp-header-maximum-segment-size-mss/21411 "2020-05-28T09:39:40Z")

</div>

Trying to communicate using MQTT using Micropython on Xbee3 Cellular Modem. It appears that Micropython’s usocket library sends with TCP Header Option- Maximum Segment Size(MSS) that is very low (less than 50). Such lo…

---

## [Does UDP socket need heartbeat message](https://forums.digi.com/t/does-udp-socket-need-heartbeat-message/21144)

<div class="topic-metadata">

**Author:** [@dbabayev](https://forums.digi.com/u/dbabayev)\
**Replies:** 1\
**Last updated:** [March 2, 2020, 6:30pm UTC](https://forums.digi.com/t/does-udp-socket-need-heartbeat-message/21144 "2020-03-02T18:30:54Z")

</div>

Hello, I am running UDP protocol on RCM3315 and the task is to listen on one UDP Multicast Port and IP and send to another UDP Multicast Port and IP. I am also allowing for Telnet connection on another socket. The Rabb…

---

## [Use AnywhereUSB2 to send data to a websocket](https://forums.digi.com/t/use-anywhereusb2-to-send-data-to-a-websocket/20656)

<div class="topic-metadata">

**Author:** [@KenMazing](https://forums.digi.com/u/KenMazing)\
**Replies:** 0\
**Last updated:** [July 24, 2019, 9:06am UTC](https://forums.digi.com/t/use-anywhereusb2-to-send-data-to-a-websocket/20656 "2019-07-24T09:06:26Z")

</div>

I would like to use a AnywhereUSB2 to send data to a TCP socket instead of the Anywhere USB Manager client. Is that feasible? Thanks!

---

## [How to change socket connect function timeout value?](https://forums.digi.com/t/how-to-change-socket-connect-function-timeout-value/20646)

<div class="topic-metadata">

**Author:** [@mplinsen](https://forums.digi.com/u/mplinsen)\
**Replies:** 1\
**Last updated:** [July 21, 2019, 8:08pm UTC](https://forums.digi.com/t/how-to-change-socket-connect-function-timeout-value/20646 "2019-07-21T20:08:10Z")

</div>

How do I change how long the socket API “connect” function waits before failing with a timeout error if the server it is attempting to connect to is not responding at all (i.e. not responding to ARPs)? Currently, it wai…

---

## [Can my software connect to the AnyWhere USB hub? ie is the AWUSB a TCP server?](https://forums.digi.com/t/can-my-software-connect-to-the-anywhere-usb-hub-ie-is-the-awusb-a-tcp-server/20116)

<div class="topic-metadata">

**Author:** [@Judi](https://forums.digi.com/u/Judi)\
**Replies:** 0\
**Last updated:** [December 20, 2018, 5:16pm UTC](https://forums.digi.com/t/can-my-software-connect-to-the-anywhere-usb-hub-ie-is-the-awusb-a-tcp-server/20116 "2018-12-20T17:16:36Z")

</div>

AnyWhere USB installed on Windows 10. We would like to communicate directly via TCP/IP to the AnyWhere USB rather than reading from the COM port. Is this possible? If so, what is the protocol?

---

## [TCP direct capture from 	anywhereUSB device](https://forums.digi.com/t/tcp-direct-capture-from-anywhereusb-device/19457)

<div class="topic-metadata">

**Author:** [@plasmaphase](https://forums.digi.com/u/plasmaphase)\
**Replies:** 1\
**Last updated:** [May 14, 2018, 5:21pm UTC](https://forums.digi.com/t/tcp-direct-capture-from-anywhereusb-device/19457 "2018-05-14T17:21:52Z")

</div>

I would like to, instead of obtaining data via an emulated com port, capture the TCP/IP traffic (preferrably via python) directly. I’m assuming this device uses a socket per physical port, I just don’t know if there’s a…

---

## [Xbee S6B send data to PHP website](https://forums.digi.com/t/xbee-s6b-send-data-to-php-website/19491)

<div class="topic-metadata">

**Author:** [@raman291992](https://forums.digi.com/u/raman291992)\
**Replies:** 0\
**Last updated:** [May 9, 2018, 11:21pm UTC](https://forums.digi.com/t/xbee-s6b-send-data-to-php-website/19491 "2018-05-09T23:21:19Z")

</div>

I want to make a switch control through my website. and send and recieve data. As i am using Dynamic IP , so every time when embedded system is turned ON we send out IP and Port number to mysql to save and thus use this …

---

## [Rabbit RCM6700 and Dynamic C 10.72 sockets not working properly](https://forums.digi.com/t/rabbit-rcm6700-and-dynamic-c-10-72-sockets-not-working-properly/19447)

<div class="topic-metadata">

**Author:** [@john\_Mc](https://forums.digi.com/u/john_Mc)\
**Replies:** 1\
**Last updated:** [April 30, 2018, 6:26pm UTC](https://forums.digi.com/t/rabbit-rcm6700-and-dynamic-c-10-72-sockets-not-working-properly/19447 "2018-04-30T18:26:22Z")

</div>

Hello, After using the patch for the writing of flash memory (Dynamic C Serial Flash Patch) it was necessary to change to the software version Dynamic 10.72 (before we worked with another previous version). Now, all our…

---

## [PC \<=\> ConnectPort (Ether - DigiMesh) \<=\> Xbee DigiMesh over Wifi](https://forums.digi.com/t/pc-connectport-ether-digimesh-xbee-digimesh-over-wifi/19163)

<div class="topic-metadata">

**Author:** [@gos](https://forums.digi.com/u/gos)\
**Replies:** 0\
**Last updated:** [February 16, 2018, 12:14pm UTC](https://forums.digi.com/t/pc-connectport-ether-digimesh-xbee-digimesh-over-wifi/19163 "2018-02-16T12:14:52Z")

</div>

I have been reading docs for days to find out how I can implement the following, but have not been able to find all answers reading docs or forums. See picture here: https://objective.no/gostemp/XBee\_Scematic\_01.PNG (N…

---

## [HTTP library, blocked incoming requests in RCM67xx](https://forums.digi.com/t/http-library-blocked-incoming-requests-in-rcm67xx/18908)

<div class="topic-metadata">

**Author:** [@luissilva](https://forums.digi.com/u/luissilva)\
**Replies:** 1\
**Last updated:** [November 14, 2017, 2:21pm UTC](https://forums.digi.com/t/http-library-blocked-incoming-requests-in-rcm67xx/18908 "2017-11-14T14:21:55Z")

</div>

I found what I think is a problem with the HTTP library and I can not find a solution. I use: DynamicC10.72C (But the problem happens with all versions) RCM6760 Description: I use the “\\Samples cpip\\http\\CGI.C” …

---

## [ConnectPort for industrial automation - OPC Server](https://forums.digi.com/t/connectport-for-industrial-automation-opc-server/18633)

<div class="topic-metadata">

**Author:** [@Garco](https://forums.digi.com/u/Garco)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 1:56pm UTC](https://forums.digi.com/t/connectport-for-industrial-automation-opc-server/18633 "2017-08-11T13:56:31Z")

</div>

Dear all, I am currently trying to join ConnectPort X2 to industrial automation. I have manufacture several XBee devices with temperature measurement that will be forwarding all their data, using Digimesh protocol, to t…

---

## [creating TCP server for rs232 adapter on ConnectPort X2](https://forums.digi.com/t/creating-tcp-server-for-rs232-adapter-on-connectport-x2/18269)

<div class="topic-metadata">

**Author:** [@LiorP](https://forums.digi.com/u/LiorP)\
**Replies:** 6\
**Last updated:** [April 26, 2017, 10:31am UTC](https://forums.digi.com/t/creating-tcp-server-for-rs232-adapter-on-connectport-x2/18269 "2017-04-26T10:31:23Z")

</div>

\#new on zigbee… my configuration is: local PC -\>(ethrnet)-\>ConnectPortX2-\>(Xbee)-\> RS232 Adaptor-\>(serial rs232)-\>Scale indicator. I’m looking for example how to create TCP server on my gateway that will serve the dat…

---

## [Why would a tcp socket connection remain after host has diconnected?](https://forums.digi.com/t/why-would-a-tcp-socket-connection-remain-after-host-has-diconnected/18073)

<div class="topic-metadata">

**Author:** [@xtech1012](https://forums.digi.com/u/xtech1012)\
**Replies:** 1\
**Last updated:** [February 27, 2017, 1:17pm UTC](https://forums.digi.com/t/why-would-a-tcp-socket-connection-remain-after-host-has-diconnected/18073 "2017-02-27T13:17:13Z")

</div>

After host makes initial connection to tcp port and releases, it cannot make another connection because the TS4 shows it as being active. Why won’t it drop in the PortServer?

---

## [sock\_close(): Time to fully close socket?](https://forums.digi.com/t/sock-close-time-to-fully-close-socket/17759)

<div class="topic-metadata">

**Author:** [@casey](https://forums.digi.com/u/casey)\
**Replies:** 1\
**Last updated:** [January 5, 2017, 2:58am UTC](https://forums.digi.com/t/sock-close-time-to-fully-close-socket/17759 "2017-01-05T02:58:54Z")

</div>

I’m using an RCM6600W with code which calls tcp\_tick() just about once every 80ms. If I establish a connection, receive a small amount of data, wait 15 seconds, and then call sock\_close, I’ve found that waiting up to 30…

[Next page](https://forums.digi.com/tag/tcp-sockets/81.md?match_all_tags=true&page=1&tags%5B%5D=tcp-sockets)
