How can i CloseComm, OpenComm, WriteComm and ReadComm with the windows unit?
I have an old comm unit that uses WinTypes,WinProcs. As i understand these were merged too the Windows unit. Are there similar functions in the Windows unit? ...
I have an old comm unit that uses WinTypes,WinProcs. As i understand these were merged too the Windows unit. Are there similar functions in the Windows unit? ...
Guys What is the general communication architecture for two android applications? Case 1: I have two android applications, a) One is a server that waits for client request, process the request( read data from some sqlite db) and return the results to the client. This server application runs on its own independent android phone. b) ...
We're developing a set of applications that need to communicate with each other on the user's session. These applications do not require any administrative privileges to run, but as soon as one of them tries to open an http listener - it fails due to lack of the administrative credentials. On the other hand, since user doesn't have any a...
I'm looking to develop two separate (but related) Java desktop applications. I want the ability for one application to trigger the other, passing in data that can then be edited and passed back, i.e. the communication will be two way. If the other application is already running I want them to just communicate, i.e. I dont want to just ...
What is the reliable way of implementing bidirectional communication to a Linux process? I see that popen does not seem to support "r" and "w" access at the same time... or at least that's what is implied: The type argument is a pointer to a null-terminated string which must be either 'r' for reading or 'w' for writing. (I am so missi...
I have a Silverlight 3 app deployed at multiple customer sites. Customers are occasionally getting a System.Reflection.TargetInvocationException with an inner exception of Async_ExceptionOccurred. What is the cause of this? Is it just unreliability in the communications with the server? Is there any way to configure WCF to do an automat...
Lets say I have my C# app installed on 2 laptops connected to a WiFi Wireless Local Area Network. How can these apps send messages to each other? What method or library can I use? I heard of using sockets but I have no idea how to work with these. ...
In my office building we have laptops on multiple floors all running a WCF Service. When WCF services communicate with each other, will a message for an out-of-range device automatically reach it by multi-hopping? Does WCF/the WLAN device driver handle this? Or do I have to detect if a device is not contactable/out-of-range and implement...
I'm just beginning WCF and so I don't understand exactly how the abstraction works. Can I write a WCF service and install the same thing on multiple machines, and have them communicate via some ID? I'm looking at sending/receiving commands, and continuous real-time data being sent between devices. ...
I'm using a data transmission system which uses a fixed SYNC word (0xD21DB8) at the beginning of every superframe. I'd be curious to know how such SYNC words are chosen, i.e. based on which criteria designers choose the length and the value of such a SYNC word. ...
As simple as it gets - can two application on the same machine bind to the same port and ip address? Taking it a step further, can one app listen to requests coming from a certain ip and the other to another remote ip? I know I can have one application that starts off two threads (or forks) to have similar behavior, but can two applicat...
Buongiorno, I'm trying to send a simple string to a serial port to command an instrument for noise measures. The strings are very easy: "M 1" = instrument on "M 2" = instrument off "M 3" = begin the measure "M 4" = stop the measure I've found this program: import serial ser = serial.Serial(0) #Seleziona la porta seriale COM4 ser.baud...
I currently have a small Python script that I'm using to spawn multiple executables, (voice chat servers), and in the next version of the software, the servers have the ability to receive heartbeat signals on the UDP port. (There will be possibly thousands of servers on one machine, ranging from ports 7878 and up) My problem is that the...
I have sales people and bean counters who are trying to sell customizations to clients, which is fine. But when a complex change request comes in that I send back a large estimate for, they get confused. Often they come back at me with "Why can't you just add another column?" which by another, they mean a dozen or so custom columns PER...
I'm having a mental block for the words describing data flow in a communications protocol + google isn't helping, due to information glut. In the following scenarios A and B are communicating to each other. command or request: a packet of data going from A to B indicating that B should take some kind of action response: a packet of da...
I'm communicating data between devices, and I have to program the protocol as an array of bytes. Any tips when building protocols at a low-level? .. Eg: Use a 2 byte header, to send the length of the message before the data bytes. Use a CRC/data validation scheme. (How do I do this? Any simple checksums?) ...
It's obvious to me that code reviews (peer reviews) improve the quality of the generated code. I've worked hand to hand in some code with some of my coworkers and, specially with some of them, code was cleaner and a lot better. Reviewing other people code is not the same thing. You're not familiar with the code, you haven't made the vas...
Hi, Now currently trying to combine a client and server application together so that the program itself can send and receive. I'm using NSNetservice for this program in xcode and anyone can teach how to make it like if I run the same program at different mac computer, one of the program will run as client another will be server and then ...
For example team A and team B are working on different applications that need to implement a similar feature. The feature in question relies on a database and the database is under the control of team B. Even though the user interfaces of the two applications are based on different technologies, the functionality is supposed to be roughl...
I know since Vista, that C# can't hook a UI form directly to the windows service. This was stated on the Microsoft Site. My question in this regard is: "What is the best mode of communication from a UI to the service?" I have heard of Remoting, Web services, and direct TCP. Are there other methods? How do they rank against the previ...