OK gurus...
I want to basically ask you guys if this is "doable". I'm sure it is. but I'm lost.
I have a class from flumpcakes.co.uk called MSN Messenger Class. Basically this connects to the MSN notification server, then the switchboard to handle messages.
Then I have modified a simple php socket server to handle an incoming connection from a flash client, and, after a simple authorization, i call a function from the MSN class.
So I know this is wrong, I'm just kinda hacking things together here.
What's happening is the simple socket server that handles the flash client (and returns data to the flash client) stops at the MSN class function (used to start the whole MSN connection and listen for MSGs) because the MSN class function enters it's own (while) loop to handle incoming and outgoing data from the MSN switchboard.
I can receive messages from the MSN notification server still, because I am in that loop, but I lose the ability to receive messages from the flash client, and pass them along, so to speak.
Basically I am trying to create a proxy or gateway from my flash client to the msn switchboard server.
What would be the proper way to do this?
Here are the files I am using:
My simple socket server << I added dummy login info (cuz you can't have mine
MSN Messenger Class Zip
I am running the socket server from the CLI on a Unix host, if you think it matters.
Thanks for you help!
Cheers!
paulfynch
"If you build it....it won't work the first time.....or the second
I want to basically ask you guys if this is "doable". I'm sure it is. but I'm lost.
I have a class from flumpcakes.co.uk called MSN Messenger Class. Basically this connects to the MSN notification server, then the switchboard to handle messages.
Then I have modified a simple php socket server to handle an incoming connection from a flash client, and, after a simple authorization, i call a function from the MSN class.
So I know this is wrong, I'm just kinda hacking things together here.
What's happening is the simple socket server that handles the flash client (and returns data to the flash client) stops at the MSN class function (used to start the whole MSN connection and listen for MSGs) because the MSN class function enters it's own (while) loop to handle incoming and outgoing data from the MSN switchboard.
I can receive messages from the MSN notification server still, because I am in that loop, but I lose the ability to receive messages from the flash client, and pass them along, so to speak.
Basically I am trying to create a proxy or gateway from my flash client to the msn switchboard server.
What would be the proper way to do this?
Here are the files I am using:
My simple socket server << I added dummy login info (cuz you can't have mine
MSN Messenger Class Zip
I am running the socket server from the CLI on a Unix host, if you think it matters.
Thanks for you help!
Cheers!
paulfynch
"If you build it....it won't work the first time.....or the second