From: Maxim S. Shatskih on 7 Aug 2010 10:10 >How would I use sockets in the most convenient and cross-platform way? Sockets are too low a level. I would prefer HTTP+XML+SOAP. It is IIRC not-so-hard to be made compatible with DCOM and CORBA. -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Navigateur on 8 Aug 2010 05:28 Very interesting! Looking into it it does seem programatically verbose. Would it be more so than, say XPCOM and OLE Automation? None of the solutions seem 100% suitable for what I'm doing. Would it be worth making my own compact custom solution with my own data types? What would that require me to make in total? On Aug 7, 3:10 pm, "Maxim S. Shatskih" <ma...(a)storagecraft.com.no.spam> wrote: > >How would I use sockets in the most convenient and cross-platform way? > > Sockets are too low a level. > > I would prefer HTTP+XML+SOAP. It is IIRC not-so-hard to be made compatible with DCOM and CORBA. > > -- > Maxim S. Shatskih > Windows DDK MVP > ma...(a)storagecraft.comhttp://www.storagecraft.com
From: Maxim S. Shatskih on 8 Aug 2010 08:33 >be worth making my own compact custom solution with my own data types? Depends on your platform. With OA, you're tied to Windows. There is no OA in UNIXen. With CORBA, you're tied _to particular CORBA package_ (under any popular UNIX and maybe even Windows) - the standard is too vague and different implementations are incompatible in terms of APIs (compatibe in terms of network protocol though). -- Maxim S. Shatskih Windows DDK MVP maxim(a)storagecraft.com http://www.storagecraft.com
From: Navigateur on 9 Aug 2010 12:13 I meant making my own simple (bi-directional) method invocation "standard" for my app, using TCP? Tim said sockets are cross-platform, right? What, in total, is the minimum I need to make for this to work? On Aug 8, 1:33 pm, "Maxim S. Shatskih" <ma...(a)storagecraft.com.no.spam> wrote: > >be worth making my own compact custom solution with my own data types? > > Depends on your platform. > > With OA, you're tied to Windows. There is no OA in UNIXen. > > With CORBA, you're tied _to particular CORBA package_ (under any popular UNIX and maybe even Windows) - the standard is too vague and different implementations are incompatible in terms of APIs (compatibe in terms of network protocol though). > > -- > Maxim S. Shatskih > Windows DDK MVP > ma...(a)storagecraft.comhttp://www.storagecraft.com
From: m on 9 Aug 2010 19:59 This is a situation where it will be mush easier in the long run if you use a standard package / middleware instead of rolling your own. In the short term, the features that the industry standard offerings have may seem overkill, but if you roll you own, you will have to implement them sooner or later. And the work to translate network to host byte order pales in comparison with the work required to map code pages on non-ASCII systems; as I have the misfortune of experiencing. I echo Maxim's suggestion of XML / SOAP as the simplest, but COBERA & MQ are also viable. In all cases though, you should not attempt this in KM, but pass this work off to a UM service. All of these products use sockets underneath, since socketys constitute the basis of all modern networking, but abstract the binary details from you and allow you to focus on the data that you want sent. "Navigateur" <naveen.chwl(a)gmail.com> wrote in message news:b42f9c9d-d52f-4e42-9c93-5cab493ece24(a)x21g2000yqa.googlegroups.com... > I meant making my own simple (bi-directional) method invocation > "standard" for my app, using TCP? Tim said sockets are cross-platform, > right? What, in total, is the minimum I need to make for this to work? > > On Aug 8, 1:33 pm, "Maxim S. Shatskih" > <ma...(a)storagecraft.com.no.spam> wrote: >> >be worth making my own compact custom solution with my own data types? >> >> Depends on your platform. >> >> With OA, you're tied to Windows. There is no OA in UNIXen. >> >> With CORBA, you're tied _to particular CORBA package_ (under any popular >> UNIX and maybe even Windows) - the standard is too vague and different >> implementations are incompatible in terms of APIs (compatibe in terms of >> network protocol though). >> >> -- >> Maxim S. Shatskih >> Windows DDK MVP >> ma...(a)storagecraft.comhttp://www.storagecraft.com >
First
|
Prev
|
Pages: 1 2 3 Prev: Is this I got $$$ from Paypal legitamit? Next: Run INFTest against a single INF failed |