# Using a ServerSocket in a Web Edition App

**URL:** <https://forum.xojo.com/t/using-a-serversocket-in-a-web-edition-app/29632>\
**Category:** Web\
**Created:** [February 8, 2016, 7:20pm UTC](https://forum.xojo.com/t/using-a-serversocket-in-a-web-edition-app/29632 "2016-02-08T19:20:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek\_Traxler](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/eb9ed0/32.png) [@Derek\_Traxler](https://forum.xojo.com/u/Derek_Traxler)\
**Post date:** [February 8, 2016, 7:20pm UTC](https://forum.xojo.com/t/using-a-serversocket-in-a-web-edition-app/29632/1 "2016-02-08T19:20:33Z")

</div>

I’m trying to use a Server Socket add additional functionality to a web app on port 11234.

If I add and set the server socket to listen in my web app, pressing play to run it, the program breaks execution like it hit a break point except there is nothing to see in the IDE. I can click the play button about 8 times before it halts all execution. If I comment out the listen line the web app loads fine.

```
MainServerSocket.Port = 11234
MainServerSocket.MinimumSocketsAvailable = 2
MainServerSocket.MaximumSocketsConnected = 100
MainServerSocket.Listen
```

---

<div class="post-metadata">

**Author:** ![Christian\_Schmitz](https://forum.xojo.com/user_avatar/forum.xojo.com/christian_schmitz/32/158_2.png) [@Christian\_Schmitz](https://forum.xojo.com/u/Christian_Schmitz)\
**Post date:** [February 8, 2016, 10:23pm UTC](https://forum.xojo.com/t/using-a-serversocket-in-a-web-edition-app/29632/2 "2016-02-08T22:23:51Z")

</div>

do you have code in the events for the ServerSocket?

maybe it can’t fill the socket pool.

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:10pm UTC](https://forum.xojo.com/t/using-a-serversocket-in-a-web-edition-app/29632/3 "2020-10-29T18:10:55Z")

</div>


