Can I connect to the Smartfox server from a C# program, and send a chat message to it?
Is this possible?
Sending a chat message to Smartfox from C#
Sending a chat message to Smartfox from C#
Fire Preibisch
flash objects
Thankd Dr. Malito for replying. So, if I can create a flash object in C#, I can send messages to smartfox server from C#?
Ill see what I can find about doing this. I WAS able to connect, but smartfox just doesnt respond. Ill see what I can find - Cheers
Ill see what I can find about doing this. I WAS able to connect, but smartfox just doesnt respond. Ill see what I can find - Cheers
Fire Preibisch
XmlTextReader
in doing some quick searches... I found info about the XmlTextReader and XmlTextWriter classes.... now I guess it would be important to find out the format of the xml files Smartserver is waiting for and expecting...
Do you know what Smartserver accepts as server commands?
Do you know what Smartserver accepts as server commands?
Fire Preibisch
Fire,
you can analyse the SFS protocol by simply checking the debug output in Flash. ( Simply launch one of our simple examples in Flash and follow the data dump )
Additionally we provide the Actionscript API sources so it wouldn't be too difficult to port the at least the essential API functionalities to C# ( Actionscript is also very similiar to C# )
FYI: all messages sent and receieved by SFS are essentially strings terminated by a 0x00 byte. ( which is the format supported by the XMLSocket class in Flash )
you can analyse the SFS protocol by simply checking the debug output in Flash. ( Simply launch one of our simple examples in Flash and follow the data dump )
Additionally we provide the Actionscript API sources so it wouldn't be too difficult to port the at least the essential API functionalities to C# ( Actionscript is also very similiar to C# )
FYI: all messages sent and receieved by SFS are essentially strings terminated by a 0x00 byte. ( which is the format supported by the XMLSocket class in Flash )