# Client-to-Server data exchange (socket)

**URL:** <https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297>\
**Category:** Ask for Help\
**Created:** [May 17, 2020, 2:31pm UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297 "2020-05-17T14:31:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_Lee](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_lee/32/1162_2.png) [@John\_Lee](https://community.glideapps.com/u/John_Lee)\
**Post date:** [May 17, 2020, 2:31pm UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/1 "2020-05-17T14:31:21Z")

</div>

Hi everyone,

I am new in Glide, and I am exploring possibilities of it. However, I cannot find information which will allow me to firmly claim whether client-to-server communication is possible within Glide or not.  
What I would like to do is to be able to open a socket (from the app) on a specific port and send data to it.  
Is that possible?

Best regards,  
JL

---

<div class="post-metadata">

**Author:** ![eltintero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eltintero/32/76520_2.png) [@eltintero](https://community.glideapps.com/u/eltintero)\
**Post date:** [May 17, 2020, 11:10pm UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/2 "2020-05-17T23:10:22Z")

</div>

i don’t think so.  
All the data is in a Gsheet.  
I don’t what a socket is, but if there’s a Zapier integration, you might make it work

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [May 17, 2020, 11:24pm UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/3 "2020-05-17T23:24:10Z")

</div>

Why would you like to have and work with TCP/UDP sockets if you can write/read from Glide directly using a GS?  
Or you want to use a third-party application to send data to Glide?

Tell us your idea to help you better if the solution is viable

Saludos!

---

<div class="post-metadata">

**Author:** ![John\_Lee](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/john_lee/32/1162_2.png) [@John\_Lee](https://community.glideapps.com/u/John_Lee)\
**Post date:** [May 18, 2020, 7:11am UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/4 "2020-05-18T07:11:11Z")

</div>

I have a robot, and would like to have a web app to send simple commends and control its actions (so acctualy, I want glide to send data to a robot). Glide offers super easy and fast development process so I don’t have to worry about many visualisation aspects, and focus only on functionality.

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/christophe_hk/32/4161_2.png) [@Christophe\_HK](https://community.glideapps.com/u/Christophe_HK)\
**Post date:** [May 18, 2020, 7:46am UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/5 "2020-05-18T07:46:31Z")

</div>

If your robot is listening on a IP address and a port, give a try to the Webview action associated to the button. Not sure it will work, but you could have a column in which you type the command, on other one (template) in which you have the IP/port/param names (eg: [https://192.168.0.1](https://192.168.0.1):xxx?cmd=", a third column in which you concatenate the second and first ones, and then a button" send command" for which the “open webview” action is linked to the third column.

I am absolutely not sure this would work, but using the webview, the cmd should be sent to the robot IP address and port.

Let me know!

---

<div class="post-metadata">

**Author:** ![gvalero](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/gvalero/32/1037_2.png) [@gvalero](https://community.glideapps.com/u/gvalero)\
**Post date:** [May 18, 2020, 12:20pm UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/6 "2020-05-18T12:20:35Z")

</div>

Hola @John_Lee

Are you using Modbus TCP or another protocol to send/receive data to/from robot? If so, the frame could be written via Google sheet and seen on Glide later (or from your robot if your hardware is able to write to GS using JavaScript!)  
I saw a video where a mini Panasonic PLC send data to GS using Modbus, it can give you an idea.

Take a look at it [http://pdacontrolen.com/plc-connection-fpx-c14-panasonic-and/](http://pdacontrolen.com/plc-connection-fpx-c14-panasonic-and/)

Let me know what you get please, I was testing something similar months ago but I stopped it to finish other things.

Saludos!

---

<div class="post-metadata">

**Author:** ![Anti](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@Anti](https://community.glideapps.com/u/Anti)\
**Post date:** [August 15, 2023, 9:29am UTC](https://community.glideapps.com/t/client-to-server-data-exchange-socket/9297/7 "2023-08-15T09:29:28Z")

</div>

Awful.  
What does mean “member of glide dont know socket”???
