Page 1 of 1

send 0byte after every send

Posted: Sat Aug 21, 2004 5:16 pm
by Martin
Hi,

Is it posseble to let the server send the 0 byte after every line that the server sends to the client?

when it is posseble I can make an webchat in flash. flash needs the zero byte after every line :(


Is it maybe posseble with a module???

Posted: Sat Aug 21, 2004 8:46 pm
by AngryWolf
Neither is possible, but if you really want to write a flash client that supports every kind of IRC server softwares, then I suggest using an IRC Gateway like WIG, which is used by, for example, WFIC, an IRC client written in Flash. Using such a gateway might be inconvenient, but it does exactly what you want.

Posted: Sat Aug 21, 2004 11:09 pm
by Martin
AngryWolf wrote:Neither is possible, but if you really want to write a flash client that supports every kind of IRC server softwares, then I suggest using an IRC Gateway like WIG, which is used by, for example, WFIC, an IRC client written in Flash. Using such a gateway might be inconvenient, but it does exactly what you want.
But when you use a gateway anybody has the same hostname :(

but flash is now recieving data from the server but the 0 byte isnt after al lines :(

I edited the server source, But I don't know where I need to edit to get the 0 byte after any line :(

[edit]
Hmm now he sends after any line the 0 byte before the \n

but does this have effect for mirc and other irc clients?
do I need to link this server to a other and make this server only for flash clients?
[/edit]

Posted: Sun Aug 22, 2004 12:42 am
by AngryWolf
Oh, sorry, it didn't came into my mind that gateways lose clients' original hostnames. I think this is leading to a similar problem that CGI:IRC support raised. But that can be solved with modules.

I can't answer your latter questions, because now that you edited the source, you have lost support officially. Altering the Unreal source code is not supported.

Posted: Sun Aug 22, 2004 12:51 am
by Martin
AngryWolf wrote:Oh, sorry, it didn't came into my mind that gateways lose clients' original hostnames. I think this is leading to a similar problem that CGI:IRC support raised. But that can be solved with modules.

I can't answer your latter questions, because now that you edited the source, you have lost support officially. Altering the Unreal source code is not supported.
ok :(
but eggdrops doesnt like the server I think I link a special server for webchats :)

Posted: Sun Aug 22, 2004 3:55 am
by codemastr
As AngryWolf said, once you modified the source, you lose your support.