Playing With Sockets + IRC Server?

Jun 16, 2009

var s:Socket = new Socket( "127.0.0.1", 6667 );
s.writeUTFBytes( 'WEBIRC cgipass "cgiirc" this.is.testing.com 127.0.0.1' );
s.writeUTFBytes( "NICK DaBit
" );

[code]...
 
It works to a point, it pings out as if I never did PONG in response, but I never got the PING message which tells me I'm not listening in on the connection correctly. What do I need to do instead? Btw this is all I have, it's all on 1 frame.
 
Here is my Output thing:
 
Attemping to launch and connect to Player using URL C:Documents and SettingsDavidMy Documents est_socket.swf
[SWF] C:Documents and SettingsDavidMy Documents est_socket.swf - 3088 bytes after decompression
:127.0.0.1 NOTICE AUTH :*** Looking up your hostname...

[code]...

View 1 Replies


Similar Posts:


Flash :: Professional - Use The Sockets - Setup Server?

Feb 10, 2010

i'm trying to develop a multiplayer game in AS3, but i don't know how to use the sockets, how to set up my server, actually i don't know how to start, i want to build a peer to peer game, which will have a "room" to find players, it will be a cars game, i already have all the rest of the game, i just need to be able to make it multiplayer

View 3 Replies

ActionScript 3.0 :: Connect Flash To A Server Using Sockets Connection?

Oct 5, 2009

how to connect Flash to a server Using Sockets connection using in AS3.

View 16 Replies

Flex :: Sockets - Open A Connection Back To The Server?

Aug 4, 2009

I want to open a connection back to the server using Flex so I can stream chat messages to the Flex front-end. How do I do this and does Flex enforce any same-origin restrictions on ports or subdomains?

View 1 Replies

Sockets :: Write A Client In Order To Send Data To The Server?

Jun 19, 2011

I have written an ActionScript 3 class that is a Server Socket and accepts connections.I want to write a client in order to send data to the server. The client will be a mobile browser. I think that i will use javascript. Is it possible to connect to the server from mobile environment?

View 1 Replies

ActionScript 3.0 :: Flash XML Sockets - Get A Simple Socket Server Test To Work?

Jul 11, 2010

I've benn trying to get a simple socket server test to work for days now and it seems I'm not getting very far.Basically I just want to send some data from flash to the php script and have it echo it out, or anything at all like that I've been working from this tutorial http[url]....I have this basic flash class which just sends a string to the server:

Code:
package{
import flash.net.XMLSocket
import flash.display.MovieClip[code]...

The server side php is the attached script (pretty much this http:[url]....So I keep the php running on my server then run the as class, what happens is after a while (presumably the 15 second script limit in as) I get this error:

Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: .../networking.swf cannot load data from website.com:9980.at base()

View 1 Replies

Flex :: Building Java Multiplayer Server Game - Difference Between Sockets And Webservice?

Aug 8, 2011

I'm building a multiplayer card game using Flex on the client side and Java on the server side and I wanted to know if I must sockets and the accept method in order to connect users to the server for in order for them to join a game room or create one or to chat.In the past I've learned how to build a game server which both sides are JAVA and connection was in sockets but now days the client side will be in FLEX which has few ways to connect to a Java server (XML,SOAP,BLAZEDS(AMF)) and I find it hard to understand how to write the Java server in order to do all the features of a game server,especially managing the rooms and sending data back to the users.

In the sockets way, when a user was connecting to the server and he had opened a room, this room was opened on a thread and who ever was joined that room then he was connected to the same thread and sending the messages to the right place was easy, so the problem is understanding how to do the same using SOAP or BLAZEDS.

View 4 Replies

ActionScript 3.0 :: Setting Up Socket Server Error "swfs With File-system Can't Use Sockets"

Jun 4, 2009

I'm trying to play around using SmartFox Server in AS3. I've created a simple test swf that works from the Flash IDE, but when I publish and try to run the swf file I get the socket error that swfs with file-system can't use sockets. Is there a way to get a socket server going that will allow local swfs to use sockets?

View 1 Replies

Media Server :: Switch Or Change A Server-side Stream - Starts Lagging After 2 Seconds Of Playing And Sound Disappears

Jan 28, 2010

I try to switch or change a server-side stream, it starts lagging after 2 seconds of playing and sound disappears. Here are scenarios that result in that terrible lag:

1. I create server-side playlist with stream.play() with reset=false; when it is time to play the next movie in the playlist, it starts lagging after 2 seconds.

2. The same problems appears when I just switch streams. I installed FMF Feature Explorer and tried to launch SwitchStreams sample application: the same problem - server stream starts lagging after I switch streams with stream.play().

I tried on different servers (local and remote), with different players (debug player of FMS Admin Console, Standard Flash videoplayer component, OSMF player, Flex video player). I also tried all possible flv, f4v and mp4 file compression options for video files - still the same problem. I have also tried literally thousands of Application.xml settings: changing buffer, buffer ration etc. Is there any tip where I should search for a solution?

View 4 Replies

Media Server :: Hosting Files On A Different Web Server And Playing?

Jul 22, 2009

Is it possible to host my /media/ directory on a different server (that has more space) and have FMS Link to it to player VOD ?

View 1 Replies

Video Not Playing When Copied To Server

Mar 25, 2010

The video in my .swf does not play when I copy from one server to another. I do see the skin but it just displays a scrolling timeline bar and no video. I have checked the source parameter in the component inspector and that seems to be fine.

View 5 Replies

Media Server :: Recorded Mp4 Is Not Playing?

Feb 22, 2011

I have developed an application for recording the mp4 format movie. I am able to record  mp4 format file but my recorded file is not playing in window media player.
 
so, if any body have some idea/suggestion  about play pre-recorded mp4 file in window media player then your most welcome.

View 4 Replies

ActionScript 2.0 :: Flvfile Not Playing From Server

Jun 17, 2008

I imported a video as progressive download in a flash file called sa-address.fla.The flash video file is sa-address.flv.I published the file it was playing.Next step I moved it to my server.(the flv and the swf).When I open the html page the flv movie is not loaded.It shows the number of bytes loaded as 0.URL...

View 5 Replies

ActionScript 2.0 :: Flv File Not Playing From Server?

Jun 20, 2008

flv file not playing from server?[URL]

View 4 Replies

Swf File With Video Clip - Cs4 Not Playing On Server

May 21, 2009

brand new to cs4. Created a short swf file with video clip, playback component under the clip, and small gray box around it. Plays fine locally. Copy swf, html, f4v to server and the gray box shows up and the player component shows up, but no video plays. Just have s white/green striped image running where the time indicator in the playback component shows up. Have earlier version of Flash running on server fine (created through 3rd-party). Server is Windows Server2003, running IIS6. Mime types include:

[Code]....

View 14 Replies

Flash :: Playing Video From A Streaming Server

Aug 8, 2009

I've been trying to insert a video in a flash project that is hosted on a flash media server. I put the address wich by the way is [URL] and it doesn't work, I'm pretty sure that the address is right, am I misssing something?

View 2 Replies

Media Server :: Playing F4v Files In FMS3.1

Feb 19, 2010

I thought that FMS3.1 supported f4v files but I cannot get mine to play.  It says it cannot find the stream specified but the file is right where all my other files are that do play fine (both flv and mp4 files).  Am I incorrect in thinking that FMS3.1 supports f4v files or do I have the wrong code? 

[Code].....

View 8 Replies

Professional :: Playing Flash On Remote Server?

May 29, 2010

I have been using flash for years deploying video for the web.For the life of me I cannot get my .FLV file to import into Flash from my URL.It's already on the server here is the address.I've always used this method.The only thing that is different is I'm now using GoDaddy to host my site instead of 1and1. http:[url]...........I do have the .F4V locally on my machine but I've never been able to get that to play from the remote server... meaning-

I import .F4V file locally into flash.I create a .swf file and place that in the same folder as the.f4v.I use GoLive to make my webpages.I create my webpage and import my .swf and .flv into the html webpage. It plays great locally on my machine.When I upload everything uploads. When I check it all out online, I get no video.

View 3 Replies

Professional :: Movie Not Playing On Production Server

Jun 4, 2010

I am relatively new to Flash development. I created my first movie with a poster board.  It appears to work fine on my local machine, however, when I publish it to my production server, the poster board displays, but the click to play button does not play the movie. The page is located at: [URL]. I copied all of the published files directly to the production server.

View 1 Replies

Media Server :: FMS 3.5 Streams Stop Playing

Oct 4, 2010

I have a fms 3.5 server that stalls when playing content regularly. After restarting through the admin console streams play again.

View 1 Replies

Media Server :: Error In Playing .flv Files

Mar 8, 2011

I'm new in FMS Recently, i create an application to record videos from my camera and recorded it But, when i tried to play it in an HTML, i met errors. The .flv jumps to the end when the progress is in the middle.And i tried to play in an .exe, it plays well.

View 5 Replies

Media Server :: Get The Stream Status While Playing?

May 22, 2011

The stream can be buffering,playing or closed.How can I capture these events while playing?

View 1 Replies

Flash :: Playing Video On A Web Browser From A Web Server?

May 5, 2010

I need to play videos stored on a web server from a web browser.

I was thinking of using Flash to achieve this. I found this article [URL]

Is there a better approach? Also when the video is playing or is paused, I'd like to be able to read the current time of playback from the browser (I guess through Javascript). Would Javascript be able to retrieve this time from the flash player?

View 2 Replies

ActionScript 1/2 :: AC_FL_RunContent Playing SWFs Fine On One Server But Not Another

May 14, 2009

I have a web site with HTML files playing SWF movies using AC_FL_RunContent. ALL the SWFs play correctly on one server and my local PC, but only SOME of the SWFs play on another server.  The files are exactly the same, as I copied them from a working server to the partially working server.
 
why the one server will only play some of the SWFs?

View 7 Replies

Professional :: Video File (flv) Not Playing After Uploading To Server?

Apr 12, 2010

I did a bit of search without success to find if anything like this was answered before.Sorry for asking a silly question, I am a newbie and hence maybe missing something obvious.I used the Encoder to create the flv file and embedded the file in the timeline and the swf file plays the video just fine locally. For some reason, it's not playing after I uploaded it to the server. I did copy over all the files (swf)s) & flv). It's a very small video and I can't even see the video(just blank) while running the swf file after uploading the files on to the server. All other frames are working as expected.

View 1 Replies

Media Server :: Multiple Song Playing At The Same Time

Apr 28, 2010

I have developed a Player where I am using FMS to play MP3 files, it works great in normal scenario but when user keep on clicking new songs from Song List (List Component) then the player stated playing all songs. Which It should not do. Is there a way that we can unload previous song before loading new song.

View 5 Replies

Media Server :: Dynamic Stream Not Playing F4v Files

May 5, 2010

In my .smil file, if I put this line it works: <video src="sample.flv" system-bitrate="150000"/> But if I put the following line it doesn't work: <video src="mp4:sample1_150kbps.f4v" system-bitrate="150000"/> Both video files are in the webrootvod folder. I am using the sample dynamicStream.smil code, so my syntax should be right.

View 3 Replies

Media Server :: After 70 Minutes, The Video Stops Playing?

May 13, 2010

I bought Adobe Flash Media Streaming Server 3.5 and I have problems with large video.After 70 minutes, the video stops playing.

View 8 Replies

Media Server :: Know When A Playing Video Stream Has Anything To Show?

Jul 4, 2010

How can I tell after issuing a NetStream::play call when there is any video arrived which I can render (Video::attachNetStream)? I can see that most of that stuff is asynchronous and highly dependent on a number of variables like FMS latency, client latency and bandwidth, server load, weather etc. I however need a reliable dependent way of figuring when there is any picture to show. I administrate our service and need to monitor content people are publishing, for that I need to browse a hundre or so streams as fast as possible. What I do is I have a number of "player" streams that play a stream name (I use Administration API to get an array of these) , wait until there is picture, show it in a video object, disconnect video from stream, create new video object, play another stream, wait until picture, show it, and so on.

I found out that I can achieve a way to check whether video has arrived by NetStream::info.videoBufferByteLength, alternatively perhaps 'videoByteCount'. I cannot create a new stream for new video object, that is too much overhead, so I reuse streams. I close a stream, play new stream name, and wait until the either of the properties above is non zero. This has been working quite alright, but still occasionally I get stale data in the subsequent video objects, even when a stream is supposed to be playing new content. I need to avoid these.

So my question boils down to the already mentioned: what would be a reliable way to do what I am doing? It's just a stream of compressed data, there must be a way for Flash Player to know what is new data and what is stale data. In fact I don't think there is supposed to be stale data in a NetStream that is already playing something else! I know this is hardcore stuff, but we are pushing it :-)

View 2 Replies

Media Server :: Buffer All The Video Content Before Playing It?

Oct 5, 2010

I just had a very bad user experience here: [URL] The Loading... text appears every 1 second. Is it possible to buffer all the video content before playing it? Or at least a portion of the video content when playback, and at the same time display the percentage of video content loaded?

View 21 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved