Click here to Skip to main content
16,011,542 members
Home / Discussions / C#
   

C#

 
GeneralRe: DES Crypto help Pin
gek_at13-May-04 2:50
gek_at13-May-04 2:50 
GeneralRe: DES Crypto help Pin
Heath Stewart13-May-04 3:23
protectorHeath Stewart13-May-04 3:23 
GeneralRe: DES Crypto help Pin
gek_at13-May-04 3:50
gek_at13-May-04 3:50 
GeneralRe: DES Crypto help Pin
Heath Stewart13-May-04 3:56
protectorHeath Stewart13-May-04 3:56 
GeneralRe: DES Crypto help Pin
gek_at13-May-04 4:53
gek_at13-May-04 4:53 
GeneralRe: DES Crypto help Pin
Heath Stewart13-May-04 3:26
protectorHeath Stewart13-May-04 3:26 
GeneralInter Process Communication Pin
gek_at13-May-04 2:31
gek_at13-May-04 2:31 
GeneralRe: Inter Process Communication Pin
Heath Stewart13-May-04 3:45
protectorHeath Stewart13-May-04 3:45 
.NET Remoting can be made to work in other languages, but it's a real b*tch. Since the messages are SOAP (assuming you use a SoapFormatter for the serialization sink), you can always tranform them.

There are many other options available, though. While you may not be comfortable with sockets, it's always good to learn new things! Smile | :) You could define a simple protocol using commands like SMTP, HTTP, and countless others. This would definitely be the most open approach.

Another way would be to host the ASP.NET runtime in your service (a little resource intensive, but not too bad) and host an XML Web Service. The SOAP bindings for these are industry standard, and Java and C++ (with, for example, the SOAP toolkit for C++ from Microsoft) should have no problems handling this.

It's really not that difficult hosting ASP.NET, either. ASP.NET Web Matrix (a free ASP.NET designer from Microsofties at http://www.asp.net[^]) does it, and VS.NET 2005 will do it for ASP.NET Web Application projects as well (so no more dependency on IIS! Smile | :) ). See the documentation for System.Web.Hosting.ApplicationHost in the .NET Framework SDK for more information. This would be just about as open as using a TCP protocol, except that it requires the client understand SOAP (and most languages do through extensions/mods, like Java, C++, Perl, etc.). IMO, it would even be a better approach since it allows you to develop a transport capable of more easily transporting complex objects, rather than having to serialize them to a byte[] array to send over a NetworkStream.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Inter Process Communication Pin
gek_at13-May-04 8:18
gek_at13-May-04 8:18 
Questionhow do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 2:24
Paolo Ponzano13-May-04 2:24 
AnswerRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart13-May-04 3:29
protectorHeath Stewart13-May-04 3:29 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 4:40
Paolo Ponzano13-May-04 4:40 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart13-May-04 5:04
protectorHeath Stewart13-May-04 5:04 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 5:27
Paolo Ponzano13-May-04 5:27 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart13-May-04 6:21
protectorHeath Stewart13-May-04 6:21 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 7:20
Paolo Ponzano13-May-04 7:20 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart13-May-04 9:37
protectorHeath Stewart13-May-04 9:37 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 11:43
Paolo Ponzano13-May-04 11:43 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart13-May-04 12:36
protectorHeath Stewart13-May-04 12:36 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Paolo Ponzano13-May-04 20:18
Paolo Ponzano13-May-04 20:18 
GeneralRe: how do I marshal lpvoid pointer in a funcion? Pin
Heath Stewart14-May-04 2:16
protectorHeath Stewart14-May-04 2:16 
GeneralUserControl and how to add controls to it Pin
Boaz V13-May-04 1:24
Boaz V13-May-04 1:24 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 1:34
Boaz V13-May-04 1:34 
GeneralRe: UserControl and how to add controls to it Pin
Boaz V13-May-04 2:09
Boaz V13-May-04 2:09 
GeneralRe: UserControl and how to add controls to it Pin
sreejith ss nair13-May-04 2:50
sreejith ss nair13-May-04 2:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.