Communicate With More Than A Client At Time?
Dec 11, 2009
i'm making a server application which has to communicate with more than a client at time, do i have to list every remotehostip is it read only or i'm doing something wrong?p.s. i'm not fully understanding how winsock udp connections work so if you have the time could you explain (or show an example) on how it works ?
View 7 Replies
ADVERTISEMENT
Mar 29, 2012
I didn't make this code but can someone explain to me how to add more than one client to communicate to add to this code?e.g 3 people to talk or is it not possible?
[Code]...
View 1 Replies
Apr 16, 2010
how i can make a udp server that waits client to communicate with him and the server answer them back even if the server doesn't know the ip of the client in vb.
View 3 Replies
Jun 22, 2010
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] (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.
[Code]...
View 2 Replies
Sep 23, 2009
I am going to create a gaming platform primarily with flash,flex and was also looking to create a windows client that could communicate with my server using these protocols. Could someone point me in the right direction on any possible .net libraries available that could handle the communications between client and server?
View 2 Replies
Jan 8, 2010
I have been struggling to find a solution for this problem. What I need to do is build a server application that accepts tcp client requests from different clients running on same port say:1003. I experimented by using asynchronous mode call backs etc. but it disconnects once connection is established and does not respond for further requests from the same client.
View 1 Replies
Oct 29, 2009
I've been playing around with the TCP client/server sample code I found on [URL] but I can't seem to get it to function correctly. The problem I am having is that if I try to send data from the client a second time I get nothing back, not even an error that it couldn't send data. Every time I run the project it works the first time but that's it. When I was running the code line by line it seems to get to 'networkStream.Read(bytes, 0, CInt(tcpClient.ReceiveBufferSize))' and then it jumps over the rest of the routine.
[Code]...
View 3 Replies
Jun 6, 2012
I'm trying to code to run 2 instances of the same client at the same time.Using a simple form with a button with system.dyecnostic.process.start(program path) to run the instance to start with.Now the problem starts with trying to run a second it just loads and closes and sends me to the first. how to negate this so I can get 2+ of the clients up?
View 3 Replies
Jan 21, 2012
and advise how I can change this connection string at run time. This is going to be on Client's computer and my application will need to change the name of computer after user enters it.
View 1 Replies
Jun 21, 2010
We are creating a Who wants to be a millionaire style game in VB. Our server is pulling information such as questions and answers from a Access Database and sending them to the contestants (Clients). All transfer of information is directly from the server to each client. One of the "Life Lines" we want to use is "Ask a friend", where one client is able to Instant message another client for a short time to get help on the question.
[Code]...
View 2 Replies
Dec 1, 2008
I have been reading through Atheists posts in regards to client-server and TCP client/server connection's. But how do i go about writing a program with 1 client and server where the client side creates a text file.Once the server sees there is a text file it connects and downloads it to itself or the client pushes the text file to the server.Once on the server i will read the text file and put its info into a sql db.
View 14 Replies
Jun 29, 2010
I have an application that takes a series of reports and sends them as attachments in an email to a specified group of email accounts.
When I run the Java version of this using apache commons and the same setting, the email is sent. However, when I run the VB.NET version of the code, it fails on my local machine and on the client machine.
I have a VB.NET web application running on a server that uses similar code. I tried that code locally and it fails. Yet, the web application is working perfectly.
Why is it that the Java application can send the email, but the .NET application cannot?[code]....
View 7 Replies
Aug 18, 2009
Im using the code from [URL] as a starter, most of the code is the same. the chat system works fine but on the client a added a disconnect button "clientSocket.Close()" and as soon as i click that i get errors, on the client, this is the code...
Private Sub getMessage()
For infiniteCounter = 1 To 2
[CODE]...
And this line...
serverStream.Read(inStream, 0, buffSize)
gives me "Unable to read data from the transport connection: A blocking operation was interrupted by a call to WSACancelBlockingCall."
Now im talking the server, after the client clicks disconnect or closes by task manager, looses connection, etc the server crashes and gives me.
View 5 Replies
Apr 19, 2012
Chat Client to Client Without Server Just Use IP Address For it?
View 1 Replies
Feb 7, 2011
for a school project i need to make a vb application that can stream from client to client.
View 4 Replies
May 31, 2012
I wish to communicate over usb in vb.net i realize i might need to use openfile windows api or createfile windows api but im doing a generic mouse driver which should be miles simpler to do since microsoft and usb.org already have the report descriptors available so all i want to do is just send data to the device directly using my program.
[Code]...
View 7 Replies
Mar 15, 2010
I'm working on a little app which needs to recieve information from a script on a web server. I tried to have the vb.net app pole a php web page for a command every half of a second. This worked but, the app is streaming video and every time the app needs to pole the webpage the video stutter stops. I tried setting the pole timer to 5 seconds and still every 5 seconds the video stutters. I thought that maybe sockets would be the answer, so I looked for examples of vb.net socket servers and php socket clients. I tried implementing a solution but the php cannot seem to connect to the vb.net server. I googled around and saw that maybe php cannot communicate with a vb.net application.
View 1 Replies
Apr 10, 2010
If I control both applications, what is the best way to communicate between 2 exe's written in VB.Net. For example, I want to drop an XML file from one app, and pick it up with the other, but I do not want poll for the file. I've heard of named pipes, but I found it was complicated. What's the most effecient way to do this?
View 4 Replies
Jan 14, 2010
I'd like to know what the best way to communicate between two applications via a LAN would be? ..and would it work over multiple versions of Windows (XP, Vista, NT etc..)?
I am setup with Visual Basic Express 2008.
View 1 Replies
Jul 9, 2010
I am a novice with programming and really need to get a device communicate with PC through COM3.
how to send and receive data via COM3 in VB.
View 2 Replies
May 12, 2011
I have a Digi Modem connect to a device. How could I sent the code through the IP address what the Modem create to get communicate with my device? how to defined the IP, 2) make the communication 3) sent the code?
View 4 Replies
Mar 4, 2009
I am trying to send and receive packets over the LAN (i.e. NIC port) using VB.NET. I found some code that uses Socket wrench, but problem with such solutions is that users will need to install extra drivers and all which I do not want. I am looking to use drivers native to the .NET environment to send and receive packets through the LAN port. My windows forms application is in VB.NETneil
View 1 Replies
Feb 22, 2009
I am looking to send and receive packets from the LAN port using some kind of WIndows Native object so that the user of my Windows Forms control does not have to install any third party software.[For example, for Serial port I use MSComm, i want to know what I can use for LAN port?]
View 1 Replies
Apr 29, 2010
I`m working on a project where i have connected a FPGA chip to the PCI bus but now i am trying to figure out how to communicate in VB to that device? Normally the device has memory assigned to it in XP (address h00000200 to h0000037F) but i don`t know how to read/Write to that memory directly in VB...
View 2 Replies
May 8, 2009
I have a library that interacts with our phone system, ie, Hey phone, call this number for me. This library is used in one of our in house products. I would like to put this instead in a service, so that any of our in house products can send the service a message to place a phone call. So basically I want to communicate from a program built in .Net 3.5 with a service running on the same machine also built in the 3.5 framework. I have done some work with WCF and was considering using this but thought I would ask what others have done or would do.
View 4 Replies
May 26, 2012
Recently, I Developed an Experiment Application with VB.net(in Windows platform), When the application collected the data,I want to use R to Analysis the data, But I don't know how to Communicate with R (In other word, I want to send R script to R in my own application).
View 1 Replies
Jan 14, 2009
I have a program that opens the command prompt and sends commands. I need to leave the first CMD open, open ANOTHER cmd and send more commands to the second one.
Then I do some processing and can close them both. How can I open more than one, and how do I refer to the first or second one?
View 3 Replies
Jan 26, 2011
I'm coding a restaurant program where every table, server and guest is a different object - Is there a right way of getting objects to communicate with each other?For example, one server might have 5 table objects, each table might have 2 guest objects. Is there a way to neatly tie all this information together. If a guest moves to a different table I have to change a large number of variables (number of guests served by server, table set to empty, new table sat...etc etc.)?
View 2 Replies
Jun 1, 2009
how can I let two threads communicate with each other by using VB.net?
View 3 Replies
Aug 12, 2010
I am writing a VB.Net application wherein I would like to be able to communicate with it from a remote computer. Specifically, I would like to be able to send (from a remote computer) both text data and also images (jpg, png, etc.) and then have the application use the sent information by displaying it to the user. How would I code the VB.Net app to be able to handle incoming data like this?
If possible I'd like to not be dependent on .Net technology on the "sending" side so I'm not sure if I would just use sockets or a web service or what.
View 2 Replies