Skip to main content
Participant
May 28, 2009
Question

socket chat client with flash

  • May 28, 2009
  • 1 reply
  • 1236 views

Hello,

I'm considering writing a flash client using sockets to connect to a chat server that I've already written in C#.  Unfortunately I don't have any AS experience so was hoping that someone might be able to point me in the right direction (to tutorials or the like for socket connections etc).

any guidance/help would be most appreciated.

thanks,

Burr

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
May 28, 2009

http://www.kirupa.com/developer/flash8/php5sockets_flash8.htm

Participant
May 28, 2009

thanks for the link.  can you tell me, does flash require that certain ports be used for sockets (like silverlight does)?

I've tried connecting to my server on the port I set up for the silverlight client (4505) and it can't connect....

kglad
Community Expert
Community Expert
May 28, 2009

yes, if you're using as2 you must use the xmlsocket class and you must connect to a tcp port >= 1024.