opfstereo.blogg.se

Send file via socket delphi
Send file via socket delphi









send file via socket delphi

Smart Mobile supports both RemObjects, DataSnap and Websocket (and a few more).All the low-level stuff is already wrapped and ready.

send file via socket delphi

You don’t have to learn much JavaScript.You write object pascal (Delphi / FreePascal).You can spend weeks and months writing the JavaScript yourself, you can publish a few DataSnap API’s - or go for RemObjects SDK which IMHO is a much better alternative to DataSnap.īut Smart Mobile Studio offers an alternative route. Well, there are many ways to deal with getting data from a Delphi centric solution (read: server) onto your website. If you havent already been asked by your customers, it’s only a matter of time before you are approached with the question “Can we poll data from our Delphi solution and use that on our website from JavaScript?”. If all you do is write old-school stuff in Delphi then you probably don’t need it, but if you want to keep up with the way technology is moving – then WebSockets is bound (pun intended) to cross your path sooner or later. Andre Mucche took the time to implement just that, extending an ordinary Indy HTTP server with the required plumbing – turning a bog standard, multi-threaded, multi-context HTTP server into a websocket nerdvana. I’m sure it will be included at one point in a future update, but thankfully Indy is easy to extend and mold due to it’s purely object oriented nature.Ī while back mr. It may not provide the same speed as Microsoft Internet Explorer or Apache, but there are hundreds (if not thousands) of products out there built with the Indy library, so it’s pretty damn awesome!īut what about websocket? As far as standards go it’s the new kid on the block – invented more or less purely for secure HTML5/JavaScript development. It’s been there for ages, it’s rock solid, it supports every known RFC known to mankind – and it’s tried and tested by time. Think of client-server programming and Delphi and chances are “indy” will be the first word to pop into your mind. No I didnt see you playing with your sockets SIR!











Send file via socket delphi