If you have ever run into problems when writing a file on the network
when someone else is trying you will know what I mean, and now just
imagine that you have an app requesting a write multiple times per
second... there is no reliance.
Nifty solution for the short term; yet, not something that can be used
reliably.
I might be wrong; yet, I doubt it.
scenario 1... user1 opens the db file to put in their message; yet,
user 2 opened the file for writing just a milisecond before me, but it
took your request for a write longer to reach the file server than mine did
this would result in user1's message being overwritten
Omar Fouad wrote:
Sure.
On Sat, Jan 10, 2009 at 3:16 AM, Nate Beck <[email protected]> wrote:
That would be really cool Omar.
Be sure to keep us posted!
On Fri, Jan 9, 2009 at 4:46 PM, Omar Fouad <[email protected]>
wrote:
Yeah I got it, it is just like bridging them to each other. Good idea I
know, but I find the SQLite a more "Native" approach. As I said, there is
a
boss involved :D. But yes I will do it for personal projects. I also
think
I
might create a custom library using C#/AIR bridging, that would be cool,
to
extend the AIR capabilities.
On Sat, Jan 10, 2009 at 2:34 AM, Nate Beck <[email protected]> wrote:
The problem... is that once you start introducing OS, Direct device
driver
control, Direct X, etc... You lose almost all of your "cross-platform"
status. It's the same thing that Java has been trying to do for years.
I think what the other guys are trying to say... is write a C# socket
server
that can talk to Actionscript. Keep it lightweight, basically just a
tunnel
to make things communicate. They weren't saying to re-write the whole
application in C#, just the communication part.
You AIR client communicates with your c# app installed beside it, the
c#
app
communicates with other clients c# app installed, which then passes
messages
to their AIR clients.
I believe that is what they are recommending.
On Fri, Jan 9, 2009 at 4:25 PM, Omar Fouad <[email protected]>
wrote:
I know Anthony, but the application is already an AIR application. I
just
can't start over the application using a different technology like
C#.
Plus
I like Actionscript more than any other language in the world, even
if
Adobe
makes lots of restrictions, (because they wanna keep a good
reputation
which
is ridiculous because MS is doing all this stuff with no restrictions
and
has a good reputation the same).
Hopefully Adobe will develop the language to get it more powerful and
let
us
do real stuff with it, not only cross applications but real things,
real
control of hardware, OS, raw socket management and so on. Imagine
creating
Powerful desktop applications with ActionScrpt, wouldn't that be
cool?
On Sat, Jan 10, 2009 at 2:04 AM, Anthony Pace <
[email protected]
wrote:
I used c# years ago very briefly... and I just realized that
actionscript
has a resemblance... I might want to start looking into .net again
http://www.c-sharpcorner.com/UploadFile/dottys/SocketProgDTRP11222005023030AM/SocketProgDTRP.aspx
the above is a nifty barebones tutorial to get you started. I
understood
it in seconds; yet, it will take you less time since you are
practised
with
the language.
Anthony Pace wrote:
SQLite won't connect to another computer on the lan though...
Since you know c#, just replace where it says java with c# that is
somewhat similar; however, I do completely understand this is
sometimes
easier said than done.
http://www.google.ca/search?hl=en&q=simple+socket+server+in+c%23&btnG=Search&meta=
Nate Beck wrote:
Good to hear Omar! I hate nagging bosses.
On Fri, Jan 9, 2009 at 3:22 PM, Omar Fouad <omarfouad.net@
gmail.com>
wrote:
Guys when there are deadlines and a Boss bugging you 24/7 there
is
no
time
to pick a book and learn a language definitely different from
the
language
you are being writing for years.
I've found another way to share information between two
applications
by
the
way. It is not a new way, it is the traditional use of a local
SQLite
databse file. That will help and I'll implement some Ideas I
already
have
to
do what is needed. But please don't tell my boss :D
Cheers.
On Sat, Jan 10, 2009 at 12:32 AM, Weyert de Boer <
[email protected]
wrote:
If you want to open server sockets with AIR. You need an extra
application
alongside your AIR application. This application then opens the
listening
or
server socket and then acts as some sort of middleman or proxy
for
your
AIR
application by redirecting the traffic back and forth of the
listening
socket to the open connection of the AIR application to this
middle
man.
Like:
1. Start helper application
2. Helper application opens AIR application after opening
connection
(or
use SocektMonitor to monitor it instead)
3. AIR application open client connection to Helper
application
4. Any incoming data into the listening socket should be
forward
to
the
socket connected from the AIR application
Yours,
Weyert
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Omar M. Fouad - www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]
This e-mail and any attachment is for authorised use by the
intended
recipient(s) only. It may contain proprietary material,
confidential
information and/or be subject to legal privilege. It should not
be
copied,
disclosed to, retained or used by, any other party. If you are
not
an
intended recipient then please promptly delete this e-mail and
any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Omar M. Fouad - www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Cheers,
Nate
----------------------------------------
http://blog.natebeck.net
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Omar M. Fouad - www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Cheers,
Nate
----------------------------------------
http://blog.natebeck.net
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders