So I've always toyed around with C# code with the idea of gaming. Lately I've been dabbling in communication. Initially I tried sockets and TcpClient and that was hit and miss. So I decided to give pipes a go. Frankly I dont have much of a preference of one of the other. I just wanted something I could eventually use over the internet. Extremely long term I plan to add encryption, a chat, movement for players (probably something UDP). For the short term I'm basically just trying to achieve something TCP/IP where I can easily send something like a key …

Member Avatar
+0 forum 0

I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is my first tutorial and is a bit long because I wanted to make it easy to follow. If you want to skip the explanation and just see the code, scroll down to "The short version:" Here is what I will be using: * A form named: MainFrm * A form named: ChildFrm * A class named: ScheduleInfo * A class named: ValueUpdatedEventsArgs An instance …

Member Avatar
Member Avatar
+4 forum 8

I am developing Client-Server application in C++ using Qt framework, but the clients can be android phones and computers(Qt client app) Now i'm having troubles to handle Reception of data on the server side; the server is not receiving data properly. First, I got things working nicely between the server(Qt app) and the client(Qt app) using these methods for sending and receiving: The size of the message is kept at the beginning of the packet to help check whether the whole message is received or not. This is the method to send message to the clients void Server::send(const QString &message) …

Member Avatar
+0 forum 0

I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that?

Member Avatar
Member Avatar
+0 forum 2

I will be showing how to pass data between two forms in C#. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is a bit long because I wanted to make it easy to follow. If you want to skip the explanation and just see the code, scroll down to "The short version:" * A form named: MainFrm * A form named: ChildFrm * A class named: ScheduleInfo * A class named: ValueUpdatedEventsArgs An instance of ChildFrm will be created and shown when clicking a button on the …

Member Avatar
Member Avatar
+4 forum 1

I have Android app and 1 php application. I want to invoke android function when the button is clicked on my php application (on latop-pc browser). So basically Php to android communication. How to achieve that?

Member Avatar
Member Avatar
+0 forum 3

i have made one program,but it will give none of the port number. Following files i have made **SimpleRead.java** import java.io.*; import java.util.*; import javax.comm.*; import java.nio.ByteBuffer; public class SimpleRead extends SpeedometerExample implements Runnable, SerialPortEventListener { static CommPortIdentifier portId; static Enumeration portList; byte[] readBuffer=null; InputStream inputStream; SerialPort serialPort; Thread readThread; public static void main(String[] args) { portList = CommPortIdentifier.getPortIdentifiers(); System.out.println(portList); System.out.println(portList.nextElement()); while (portList.hasMoreElements()) { System.out.println("hi...."); portId = (CommPortIdentifier) portList.nextElement(); if (portId.getPortType() == CommPortIdentifier.PORT_SERIAL) { if (portId.getName().equals("COM9")) { //if (portId.getName().equals("/dev/term/a")) { SimpleRead reader = new SimpleRead(); } } } } public SimpleRead() { /*portList = CommPortIdentifier.getPortIdentifiers(); while (portList.hasMoreElements()) { portId = …

Member Avatar
Member Avatar
+0 forum 3

{R1}========{R2} / \ / \ / \ [S1] [S2] / \ / \ VL10 VL20 VL10 VL20 Ok so I'm trying to make VLANS in one broadcast domain communicate with VLANS in the other broadcast domain, what do I do? The vlans in their own broadcast domain can communicate together because of router-on-a-stick (VLAN10 to VLAN20). Here is what I have done: -VLANS are set and VLAN 99 is management and trunk on both braodcasts -Router-on-a-stick is set up on both broadcasts -The routers have routes to each other set up -Clock rate is set on DCE end

Member Avatar
Member Avatar
+0 forum 2

Basicly I try to send values to a PHP Server and read out returned information I get from the Server. The PHP code is not the problem. My Problem is I don't know how I can send values with C++. I don't have any code yet because I don't know how to start. I need some help, please^^. greetz vedel.bajic

Member Avatar
Member Avatar
+0 forum 1

I have a component TM and it ‘s responsibility is divided to A and B. there is another component query client. Between these component there Is an async communication. I represented the query client and the TM as classes how do I represent the Async communication?

Member Avatar
Member Avatar
+0 forum 5

I'm currently doing some research for a project about mobile devices and could only find apps that perform instant messaging, but not how they do it. So I'd like to know what are the technologies/methods behind instant communication between mobile devices? e.g. facebook messenger app. Do the messages go from clientA-to the server-to clientB? This is the impression I got, since the messages are stored, but then how is it so fast? Any help is greatly appreciated, thanks.

Member Avatar
Member Avatar
+0 forum 3

Hi All, I don’t know whether my question is a meaning full or not, but I am presenting my doubt here. Basically I am a java programmer. I have done some web projects. Now, I am just getting some ideas that to interact with hardware. But, I have zero knowledge on that. Can any one tell me, How to interact with hardware with software? Now days, we can see that a big machines can be operated by software. I just want to know, how to interact with a small hardware. What I have to learn for that. Can I talk …

Member Avatar
+0 forum 0

Hello there, Nowadays, I'm planning to develop a chat program (school project) and I need some help/advice. I did a little research and I have found a site with a sample program for chat building, it's called Ozeki VoIP SIP SDK. On this page, I found a good description of the sample program and it says that with the help of it you can create text, audio and video chat program within a short period of time. According to the site, you can use different developer environment such as: Microsoft Visual Studio 2010, Microsoft .Net Framework 3.5 or 4.0, Flash …

Member Avatar
+0 forum 0

Me and my team are working with arduino devices for a project and we need a way to talk and respond from arduino to visual studios. any coding out there to work on this because i can not seem to find any myself

Member Avatar
+0 forum 0

Hello guys.... i came through a website of "serialio".....[url]http://serialio.com/products/serialport/serialport.php[/url] all i want is the java api which i failed to find. Please help me i need "serialio" java api for serial communication..!!

Member Avatar
Member Avatar
+0 forum 6

I am designing an application which communicates with another device via a serial port. My application buffers the received binary data until the data is valid/of known format, does some processing and then writes back a response. I understand this model is known as the consumer/producer model. The issue I am having with properly implementing this model is that the message processing part of my application is fairly complex and involves calls to other classes/methods, etc., and when spawning a new thread I can only pass it one function. How can I best implement this? Thank you for any help …

Member Avatar
Member Avatar
+0 forum 2

Hi all, I have a main GUI class as seen here: [CODE] import java.awt.*; import javax.swing.*; import javax.swing.border.*; /* * Class is to communicate with various other classes in the program to * create a roster for user based on their selection on GUI. */ public class MainGUI extends JFrame { private static final long serialVersionUID = 1L; //declares window width and height for program final int WINDOW_WIDTH = 1000; final int WINDOW_HEIGHT= 1000; private PlatoonPanel pp; private SquadPanel sp; private ManualPanel mp; private ActionButtons ab; private static Container pane; public MainGUI() { //sets title setTitle("Roster Generator Version 0.0.1"); //sets …

Member Avatar
Member Avatar
+0 forum 10

Can someone please help me out that how execution of Inter-process communication in java is done, where a single process tries to receive from two mailboxes. I mean the send() and receive() operations?

Member Avatar
Member Avatar
+0 forum 1

I have a problem when it comes to my plan for a thesis defense. though the PHP scripts are now ready... I wonder if I can access a loclahost from other computer in an intranet. Plan of the Problem: Computer A is the client computer of Computer B and Computer C. Computer B is the hosting server (or the menu) while Computer C is the hosting server of the payment process in transacted Computer B. Computer A will go through the payment process in Computer C. Computer C will now Communicate with Computer B (Server to server communication) thru XML …

Member Avatar
Member Avatar
+0 forum 4

Ordinarily I tend to agree with many of the things PCWorld's John C. Dvorak has to say, but a [URL="http://www.pcmag.com/article2/0,2817,2343209,00.asp?kc=PCRSS03079TX1K0000584"]column he wrote this week[/URL] has left me scratching my head. He asserts that the email system is fundamentally flawed and has pronounced it "dead." Email? Dead? What? Dvorak gives readers nine reasons to support his opinion, ranging from an assertion that people sometimes give out email addresses with no intention of checking their inboxes, to an inability to confirm that emails have been received at the other end. While he makes some valid points, I just can't get onboard with …

Member Avatar
Member Avatar
+0 forum 10

Hello: I am trying to create an audio processor, and I have a program that creates some threads (in Windows). The "main" program creates the audio processor thread, and then creates the audio reader thread. I would like to know how the audio reader can tell the processor that the audio has finished. I have tried with events, but (correct me if I am wrong) when using events a thread has to wait until the other sets the event; and it is not may case, because in my processor thread the processor is working inside a loop that has to …

Member Avatar
Member Avatar
+0 forum 4

Dear All , I have a gps logger which store the gps data into its internal memory .I have a description file for the data format and how to send commands to the logger to get data . this file is present at the following website L [url]http://www.rigacci.org/wiki/lib/exe/fetch.php/doc/appunti/hardware/gps/mtk_logger_library_user_manual_1.2_tsi.pdf[/url] I need to make a vb.net application that can download data from the gps logger . and to set its configuration parameters . Thanks , WSN

Member Avatar
Member Avatar
+0 forum 2

Hi I am battling for days now to send and receive the correct characters to hardware from my code. It works fine in tera term. I have to send ASCII 4 " alt 004" in tera Term to poll the datalogger to return the data stream saved in memory. The hardware works fine and I get the correct data, but I can't seem to get the harware polled from my software. If I do a manual trigger on the hardware it sends the data, but it shows in some binary format. I have tried several ways to decode an encode, …

Member Avatar
Member Avatar
+0 forum 14

Hello all, 1) I want to know how to use the serial component in the toolbox of VB2008 express edition. 2) I want to how to plot a graph in VB2008 express edition.

Member Avatar
Member Avatar
+0 forum 2

I use Microsoft Visual Basic 2008 Express Edition and I am begginer in computer networks. I want to make two PCs communicate via network using server/client I followed the example from this site: [url]http://www.eggheadcafe.com/articles/20020323.asp[/url] (VB.NET TCP Client/Server Socket Commmunications) When I run the applications server and client in one computer then is possible the client to connect with server. When I use two computers via network, in the first computer I run the server application and in the second computer the client application then the client it gives me error message like: No connection could be made because the target …

Member Avatar
Member Avatar
+0 forum 2

Hi there, I would want to know the procedure for communicating with the satellite. I have got the basic info of the same. The infrastructure and the requirements. i would want to know are there any companies who can lease the infrastructure to me. i would really appreciate if i get a positive response. Thank you for all the replies in advance.

Member Avatar
+0 forum 0

Over the past year or so, [URL="http://twitter.com/"]Twitter[/URL] has become a full-blown communications phenomenon. For those of you who don't follow every social networking trend. Twitter is a micro-blogging site where you enter your thoughts, whatever they may be, in 140 or characters or less. Experts say if you aren't paying attention to Twitter, your business may be missing out on more than you think. Last July I became aware of the power of Twitter when I wrote a post called, [URL="http://www.daniweb.com/blogs/entry2814.html"]Trouble with Your Vendor, Try Twitter[/URL]. During an interview with [URL="http://www.brentleary.com/"]Brent Leary[/URL], a partner at [URL="http://www.crm-essentials.com/"]CRM Essentials[/URL], for an article …

Member Avatar
+0 forum 0

The End.