# Is this posible?

**URL:** <https://forum.kirupa.com/t/is-this-posible/64032>\
**Category:** Uncategorized\
**Created:** [September 12, 2004, 5:50pm UTC](https://forum.kirupa.com/t/is-this-posible/64032 "2004-09-12T17:50:45Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![netrix](https://avatars.discourse-cdn.com/v4/letter/n/f0a364/32.png) [@netrix](https://forum.kirupa.com/u/netrix)\
**Post date:** [September 12, 2004, 5:50pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/1 "2004-09-12T17:50:45Z")

</div>

hey guys… I was wondering that if in a game like this [one](http://juliocortiz.com/net/vh.swf) where 2 players play simultaneusly, would be posible to play from different computers at the same time… What i wanna do is to play against a someone else over the internet… so is there any way to play a game made solely using flash from different computers at the same time on the internet or on a lan?? if it’s posible please tell me how!!!

🔗

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 6:23pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/2 "2004-09-12T18:23:37Z")

</div>

Its not possible solely using flash.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 6:27pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/3 "2004-09-12T18:27:56Z")

</div>

It is possible I you use a socket server. Socket connections are persistent, which let you stay connected to a server. A socket server is an application that’s always running. It can accept simultanious connections from multiple computers, and exchange information among them.  
This is how most chats and multiplayer games are created in Flash.

For more info about this subjects, perhaps search this forum (if there are threads about this subject) or consult the help or a book.

That’s all I know about it, I’m planning to make a multiplayer game or chat pretty soon…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 6:28pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/4 "2004-09-12T18:28:58Z")

</div>

A socket server isn’t a component of Flash, though. He said using only Flash.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 6:31pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/5 "2004-09-12T18:31:00Z")

</div>

I thought Flash had a build-in XMLSocket class, or hasn’t it?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 7:45pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/6 "2004-09-12T19:45:38Z")

</div>

Ah yes, I guess it does.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 12, 2004, 8:17pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/7 "2004-09-12T20:17:49Z")

</div>

"You’ll probably do need a socket server on your webserver. It’s usually written in Java, C, C++ or Visual Basic. But you can set up a socket server on your own personal computer, so that you can develop with it.

ElectroServer 3 is supported by any operating system that supports the Java Runtime Environment, it’s a Java-based socket server."

See [Electrotank](http://www.electrotank.com/ElectroServer/)

I have this information from an Actionscript reference book… Hope it helps :mu:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 9:52am UTC](https://forum.kirupa.com/t/is-this-posible/64032/8 "2004-09-13T09:52:50Z")

</div>

You can do it only wit Flash. FMX2004 Prof Edition Has XMLSocket class, which can be used with apllications such as Chatting and online gaming.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 3:22pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/9 "2004-09-13T15:22:36Z")

</div>

thanks guys… do you know where can i find more info about that, maybe tutorials or some info of that sort??

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 3:25pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/10 "2004-09-13T15:25:03Z")

</div>

btw thanks for the electroserver link… didn’t saw when i posted before.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 13, 2004, 4:09pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/11 "2004-09-13T16:09:43Z")

</div>

I looked into this subject further over the summer and I actually wrote my own socket server. It is just Java, but, since I’m pretty inexperienceed in java, I have no idea how to set it up and run it on a server thats not my computer. If any one could help me. PM me. Thanx

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 15, 2004, 1:16pm UTC](https://forum.kirupa.com/t/is-this-posible/64032/12 "2004-09-15T13:16:50Z")

</div>

> [@netrix](#):
>
> btw thanks for the electroserver link… didn’t saw when i posted before.

No problem 😉
