# Flash sockets via localhost

**URL:** <https://forum.kirupa.com/t/flash-sockets-via-localhost/230512>\
**Category:** Uncategorized\
**Created:** [June 26, 2007, 8:51pm UTC](https://forum.kirupa.com/t/flash-sockets-via-localhost/230512 "2007-06-26T20:51:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![levrek1](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@levrek1](https://forum.kirupa.com/u/levrek1)\
**Post date:** [June 26, 2007, 8:51pm UTC](https://forum.kirupa.com/t/flash-sockets-via-localhost/230512/1 "2007-06-26T20:51:35Z")

</div>

Is it possible to build both a flash client and a server in flash that communicate via sockets on the same PC/machine? In order to create a testing tool that will exercise our flash clients even when the network is absent, we’ve tried to create a socket server in flash that connects, via localhost:portno, to another flash client on the same machine. It doesn’t seem to work, and more surprizingly, we cannot find any examples of such a combo in any of the docs or boards. Help?
