communication

How can I start/stop applications on a different computer?

Is it possible for one C# (desktop) application to start and stop applications on another machine? I don't mean in a malicious sense, or even over the internet. I have two computers in a room and I need an app on one to start (and then stop) and app on the other. One half-formed route in my mind was to use an auxiliary program on the t...

How can I communicate across Perl CGI scripts?

I am searching for efficient ways of communication across two Perl scripts. I have two scripts; Script 1 generates some data. I want my Script 2 to be able to access that information. The easiest/dumbest way is to write the data generated by Script 1 as a file and read it later using Script 2. Is there any other way than this? Can I st...

What are the good alternatives for communication between local C++ and Java programs?

By "local" I mean both run in the same subnet, in most cases the same host/VM, therefore some standard cross-network cross-platform RPC mechanisms like SOAP, XML-RPC, CORBA, etc. seem unnecessary. The payload is mainly numerical (mostly tabulated) data with some small amount of meta data (for example available data services, data descri...

Communication between 6 ViewModels and a Messenger == AntiPattern ?

A common approach for communication between 2 ViewModels is this: http://stackoverflow.com/questions/2474768/mvvm-view-model-view-model-communications The Mediator pattern or a Messenger class. But what about 6 ViewModels in one Window? NewSchoolclassUserControl NewPupilUserControl SchoolclassListUserControl PupilListUserControl Pupi...

Winforms application server communication

Hi, I am building a Winforms client that needs to communicate with a backend. This backend is build using Nhibernate (with a VERY rich domain model) , message queuing and other. Now i do know about communicating over the internet ( mostly mq stuff) but i am at total loss as to how to let my Client Winforms App talk to the Application s...

Best way for two apps on the same machine to communicate

I have an ASP.NET app running on a webserver. A third party is created another app in PHP which needs to send data to my app for processing. Initially it was assumed that the PHP app would be deployed elsewhere so we agreed that the communication would occur over the internet via HTTP (over SSL). My app would simply use a generic handle...

Send an IOrder from ViewModel1 to ViewModel2 with a Messenger, how do you differentiate ADD/DEL ?

Hello, I have a CustomerListViewModel and a OrderListViewModel. In the latter I select an order to delete it or I create a new one. In both situations my CustomerListViewModel and the Messenger must register to the type IOrder: Messenger.Default.Register<IOrder>(this, AddOrder); Messenger.Default.Register<IOrder>(this, DeleteOrder); ...

Horizontal and Vertical Parity check codes

Hi Guys, I was reading about horizontal and vertical parity check codes. One of the properties of these codes is that the final parity check (the lower right bit) is equal to modulo 2 sum of horizontal parity checks and also equal to modulo 2 of sum of vertical parity checks. I did not understand, why this is true. I can see them in t...

Silverlight Client-Server Communication

I have a WPF application, that I want to port to Linux/Mac. The most logic way seems to split the application in two parts: client and server, and use Silverlight for the client UI, and run the server-part (as an invisible console-app) in Mono. But what's the best way to let those two parts communicate? Silverlight 4 supports COM inter...

How can i manage session in chat or game server?

I wanna create communication server as the following: public interface ICommnuicationServer { void Send(object sessionId, object message); void Send(IList<object> sessionIds, object message); void Broadcast(object message); } How can i manage and store this session by sessionId? ...

Standard Deviation when transmitting data

Hi Guys, I am solving some examples from Data Networks by Gallager and i didnt quite understand this particular question. The question goes as follows: Suppose the expected frame length on a link is 1000 bits and the standard deviation is 500 bits Find the expected time and standard deviation of the time required to transfer a million...

How to get image from silverlight to non-silverlight ?

Hi, I need a very weird thing I admit. I hope you'll be able to help me. My current situation (all in one solution VS2010): I have the Silverlight assembly with user-control (basically a drawing of kind) I have a WCF service to provide the images (hosted in the website project) I somehow need to: when someone requests the RESTful...

Communication with Management, realistic expectations, growth pains for a small software team - need advice

I work for a mid sized Architecture and Engineering firm, our sub group focusses on developing tech solutions for engineers, mappers and technical managers. So we're heavy on desktop based apps for GIS and Civil/Env Engineering (some web). The company sells the services that our Engineers and mappers produce and our team develops tools t...

Best way to pass data between two servers in C?

I wrote a program that creates a TCP and UDP socket in C and starts both servers up. The goal of the application is to monitor requests over the TCP socket as to what UDP packets to send it (i.e. monitor for something like "0x01 0x02" and if I see it, then have the UDP server parse the payload, and forward it over to the TCP server for p...

Help with sending text thou TCP/IP or LAN

Hey all i am trying to send a text message from a virtual machine (VMWARE) to my local machine so that i can hit a button in the VM and have it do something on the local. Is there anyway to send a text through an IP, TCP/IP, LAN using VB6 or VB.net? I was looking at the net send to send something but it doesn't seem to work for me (as w...

What .net framework to use to communicate between two processes.

I'm working on a application where I have an imaging inspection process and a Ui process. Both are programming using c# 4.0. They may or may not be on the same machine. I have to design it to handle both methods. The inspection process will be essentially running as the server in this application on a windows 7/64 box. In terms of ...

Communication between winform client and server's web service

Hi everyone, currently I'm an internee and about to join in a project in which I have to take responsible for implementing the server side part. The scenario: _There are many kiosks, each runs a winform application, this application read barcode from customer's card and then send the info to server. _The server has several web services,...

Activity to Activity Communication

Hi All Activity a =AssumeSomeActivityExists(); Intent openActivity=new Intent(); openActivity.setAction(Intent.ACTION_VIEW); openActivity.setClass(a,B.class); a.startActivity(openActivity); When we do something like above how to make B instance know that it is been called and created by Activity a? Thanks & Regards Sudhakar Chavali ...

Tablet(iPad/Android)-Server Communication Protocol

Hi All, I am going to build a client-server application. The client here is an iPad (or an android-based) tablet. The server is a normal pc. Both the clients and the server are connected to the same network (using WiFi). Is there a standard way (protocol) for communication between the clients and the server? Are there any framework th...