# App.DoEvents NOE

**URL:** <https://forum.xojo.com/t/app-doevents-noe/12496>\
**Category:** General\
**Created:** [November 22, 2013, 1:44am UTC](https://forum.xojo.com/t/app-doevents-noe/12496 "2013-11-22T01:44:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wayne\_Golding](https://forum.xojo.com/user_avatar/forum.xojo.com/wayne_golding/32/165_2.png) [@Wayne\_Golding](https://forum.xojo.com/u/Wayne_Golding)\
**Post date:** [November 22, 2013, 1:44am UTC](https://forum.xojo.com/t/app-doevents-noe/12496/1 "2013-11-22T01:44:37Z")

</div>

![](https://dl.dropboxusercontent.com/u/18858366/TrickyBug.png)

According to this I have a NOE from the App.Doevents statement that keeps my console app alive.

In actual fact there is no AddSocket event specified for the ServerSocket, so when it creates the pool it can’t, and I’m guessing the pool is created during an event loop.

It didn’t take me too long to figure out, but it could have been a nightmare. Is there a better way to raise this error preferably on the Listen statement?

---

<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, 4:57pm UTC](https://forum.xojo.com/t/app-doevents-noe/12496/2 "2020-10-29T16:57:07Z")

</div>


