communication

Are there any good metaphors for explaining project complexity to a non-programmer?

It was just mentioned that I'm "not exactly building the Sistine Chapel." This is true, but I am building a freight management application, which isn't exactly as simple as drawing controls on a form (even though the vendors would have you believe it is). I don't hold this against the person who said it, but I do feel the complexity of...

VB.Net - Networking method for client/server game

Hi All, My first question so go easy on me :) I've been developing for years and have written WAY too many apps (mostly web apps) using web services - I'm happy with SOAP/WSDL/etc... I also used to write TCP/IP client-server apps back in the day using good old winsock. I'm a bit bored and looking for a new project to expand my skills ...

.Net Communicate with running service

I've written my first windows service in .Net. Can I communicate with this service from other .Net application? Can I execute methods on a service object from remote .net applications? ...

.NET External Communication

I used the term "External Communication" simply because I do not mind which method I need to use to be able to send a simple message like "hey, how's it going?" to another person on a different computer who's also running my application. I've tried literally hundreds of samples, edited them, corrected various errors, came up with some o...

Easiest for two way communication over the internet using C#

Hello, What do I use for two way communication over the internet without the necessity to open ports on the client side? Users won't agree to open ports and do port forwarding on the client side although everything is possible on the server side. But,I need to accomplish two way communication.. How do I go about achieving this? It do...

Communicating with a driver over a network in Windows

How could I communicate with a driver from a usermode application over a network? I can't have the driver communicate with a local usermode application which then communicates with the remote application because that wouldn't work for what I'm doing. I was thinking of using named pipes but I'm not sure if that would work over a network. ...

What is the best way for interprocessor communication in Linux?

I have two CPUs on the chip and they have a shared memory. This is not a SMP architecture. Just two CPUs on the chip with shared memory. There is a Unix-like operating system on the first CPU and there is a Linux operating system on the second CPU. The first CPU does some job and the result of this job is some data. After first CPU fin...

Passing a msg to another thread in C#

I have a thread running in the background. How do i send it messages from my main thread? The only msg i need to send is 'go'/'wakeup' ...

Blocking TCP socket write then immediatelly close - is it a problem?

I have a sender that TCP-connects, sends block of data, and closes the socket. I'd like to write the simplest, but reliable program that does the above. The first thing comes into mind (e.g. in .NET, although the question relevant to sockets in general): // assuming LingerOption(false), NoDelay set to whatever var client = new TcpClient...

Serial Port Redirection or Splitting

I am looking for a book and or a code sample of how to do serial port redirection or port splitting. I write a lot of com port applications and want to write a monitor application that will allow me to watch the serial port between the application and the device. So I want to be able to redirect the serial port to another port so I can...

how to get more involvement from employees?

Once a week we have an half hour session where we talk about a few features in our application or explain a customer question to our employees(sales, support, technical services and development). This session is to teach our employees the application we sell and to help them improve the service to our customers. Once every two weeks this...

Prefered method of notifying upper layers about received message

Hi, I'm writing a RS485 driver for an embedded C project. The driver is listening for incoming messages and should notify the upper layer application when a complete message is received and ready to be read. What is the prefered way to do this? By using interrupts? Trigger a SW interrupt and read the message from within the isr. Le...

How are Massively Multiplayer Online RPGs built?

How are Massively Multiplayer Online RPG games built? What server infrastructure are they built on? especially with so many clients connected and communicating in real time. Do they manage with scripts that execute on page requests? or installed services that run in the background and manage communication with connected clients? Do the...

Regarding interrupt based communication

We have a simple architecture : Main chip (arm9 based) PIC controller The PIC communicates to ARM via an interrupt based I2C communication protocol for transfer of data. Inside the interrupt we signal a task which reads the data from the I2C layer (bus). In case the data is limited we usually won't have much problem to read the data...

Can instances of the same PHP script cross communicate?

I'm assuming that for every page request, the webserver (eg. Apache) creates a new instance of a script in memory. Can these instances communicate with each other while running? and pass data too? ...

Does socket data need to be error corrected?

When using socket communication in PHP, do I need to confirm if a message has been successfully received after sending each message? Or would the transport layer (TCP) take care of error detection and correction, ensuring successful delivery of any sent messages? ...

Flex Custom Component Communication

Hi All, What is the best practice in terms of communication (variable usage ann method calls) between custom components developed using mxml. ...

Can a protocol be secured by encryption?

This is something I've always wanted to learn. When I design a system (software or hardware) where multiple components communicate with each other, how can I implement some simple encryption or other features in the protocol for some basic security? I can change the protocol anyhow, since I have low-level access down to the series of by...

iPhone TCP/IP Socket Server/Client Program

I have read a lot of questions regarding this subject on this website however they didn't quiet answer my question. If you can't be ### about my goal or background skip to the question. My Goal Is to build a server that can run on Mac OS X 10.4+ and later, port it to Windows XP/Vista (no idea how to do that yet, but that's a problem f...

Is Socket.SendAsync thread safe effectively?

I was fiddling with Silverlight's TCP communication and I was forced to use the System.Net.Sockets.Socket class which, on the Silverlight runtime has only asynchronous methods. I was wondering what happens if two threads call SendAsync on a Socket instance in a very short time one from the other? My single worry is to not have intermix...