Page 1 of 1
Module so every server message is followed by Zero Byte?
Posted: Wed Dec 21, 2005 4:12 am
by syko
I have a very good knowledge with scripting, etc. however I am lacking in C even though I know how to fumble my way around.
I would like to know how I could CREATE A MODULE(edit) so that every line sent to clients by the server is followed by another line with nothing on it other than a zero byte.
I am writing a chat client in Flash to use with a server I am creating, but flash requires every line be terminated with a zero byte or else it can't read the line.
Thank you very very much in advance for any help guys. Figuring this out will be a HUGE relief on my part.
Posted: Wed Dec 21, 2005 4:47 am
by JIVXor
Another post with the same theme? Dont you know that is an EDIT option? Obvious you must deal with which it does not have to do with modifying sources.
Posted: Wed Dec 21, 2005 4:57 am
by syko
I obviously did not know it was an EDIT option.. how do I set the EDIT option?
Posted: Wed Dec 21, 2005 4:58 am
by Stealth
I don't know how many times I have seen this, and I don't know if it is always the same person that asks...
However, there are flash clients that don't require the zerobyte for line termination. Use google and find a flash IRC client, and there is at least one that is open source IIRC.
Posted: Wed Dec 21, 2005 5:09 am
by JIVXor
Posted: Wed Dec 21, 2005 5:18 am
by syko
JivX, I posted it in 2 different forums in order to hopefully receive extra help, occasionally on forums users will only hover in certain areas. I also felt that my topic fit under both categories.
As for the other guy that posted about IRC Flash Clients that work without the zero byte, that is false as far as I know.. the only ones that I know of that work use gateways in order to do this.
I wouldn't think it would be that tough to create a module that does this, unfortunately I am just not familiar enough with C..
If so many users continue to request it, perhaps it would be a good idea for somebody to make one.
Posted: Wed Dec 21, 2005 5:27 am
by JIVXor
syko wrote:I obviously did not know it was an EDIT option.. how do I set the EDIT option?
You ask me, I answered you. On the other hand, I feel that you are wasting your time, in the best sense of the word. I tried several times just like you now, but there is an ethic here that there is to follow. I wish you luck.
Posted: Thu Dec 22, 2005 7:11 am
by w00t
JIVXor wrote:You ask me, I answered you. On the other hand, I feel that you are wasting your time, in the best sense of the word. I tried several times just like you now, but there is an ethic here that there is to follow. I wish you luck.
I really don't appreciate unhelpful, hostile attitudes like this, and other posts I've seen around. Take it in mind

.
Posted: Thu Dec 22, 2005 12:52 pm
by Syzop
This simply cannot be done in a module.
When you think of it, it doesn't make sense either... it's the client that should conform to the IRC protocol (basics), not the other way around.
Posted: Tue Jan 03, 2006 12:07 am
by Nazzy
What doesn't make sense to me is why flash wants the end to be \n\0 or \n\0\n
XMLsockets
Posted: Wed Jan 11, 2006 7:55 pm
by bsacco
I think that he needs that because the XMLSocket object in ActionScript(flash), needs that.
Posted: Sun Jan 15, 2006 9:03 am
by w00t
This can't be done, end of discussion.