[2008] Chat Clients Connected ?
Feb 28, 2009Using this example here, do you think it would be possible to develop it to show who is connected to the server?
View 10 RepliesUsing this example here, do you think it would be possible to develop it to show who is connected to the server?
View 10 RepliesAttached are my source files i found a source and messed about with it, itsa chat client and a server which listens to clients anyway the server sends out all the messages to each client, all i want to be able todo is have a little box in my client, which is there, but has no function, its meant to list all the users currently connected.
View 4 RepliesHow would I create a multi-tcp chat room. Im having trouble handling them. I know you can store the connections as arrays or store then in hash tables. Is there a better way to data to a specific connected client. My way was to just broadcast the message to all the connected with the clients name (EX: Client1||MessageHere) || is the split. The client reads the message and sees if client name matches if it does then it will display it other then that it will not. I found out that my server was sending out useless data with this method. So is there a better way to handle/Send messages to a specific client?
View 2 RepliesI have 2 clients connected via a server program.When 1 client hits an arrow key, a picturebox moves on client1 and on client2.Before adding this network functionality, the picturebox on client1 moved fast with each click.Now, there is a delay of like 2-3 seconds.I know the code isn't optimal, but i'm not a networking wizard.What i'm doing is when pressing a key on client 1, it passes a text to a textbox in client 2 which then has the picturebox move in client 2 depending on the text.The slowdown occurs on client 1, which is odd because the picturebox isn't directly connected to the network code.[code]
View 3 Repliesi have made a client and server chat system in VB 2008 with winsock,it's a one to one chat and works perfect fine, but do anyone know how to turn it into a multi-client chat system? Code in below: Here is the code for the server:
[Code]...
I am programming a chat like application using Tcp. Now I have a probem. I am going to have loads and loads of data being transferred so I will have to use 4 seperate ports.[code...]
My problem is for me to use a maximum of 4 ports all together transferring data from the client(s) to the server(s) I will need 4 clients and 4 servers. I need to open 4 instances of 4 clients. I was going to put a client in a form and then when the client is running it creates 4 instances of that form but than there would be too much confusion going on. I think there my be a way to use Classes instead of forms.
[code...]
On my program I am trying to make a ToolStripStatusLabel's text change to "connected" if connected to a network and if not connected to a network change the text to " Not Connected" then I don't know how to display a image if connected to a network or not connected. So if the computer is connected to a network I have a image that I would like to be displayed next to the ToolStripStatusLabel. And if not connected to a network, can the program display a different image? I tried this:
My.Computer.Network.IsAvailable=True(ToolStripStatusLabel2.Text "Connected")
My.Computer.Network.IsAvailable=False(ToolStripStatusLabel2.Text "Not Connected")
I am trying to find out if the connection of my sockets (TCPClient) is connected or not connected. I am using the following code:
[Code]...
I teach programming at a high school and I have used VB 2005 Express (in a computer lab of 33 clients) for a number of years without a problem. However, this year I switched over to VB 2008 Express and now I am constantly having registration issues. I have found the following ...
1. You must re-register the product for every user on that client
2. Each client must have a unique registration key
3. You are allowed only 30 days of useage without registration
What is happening is I asked my students to register the application themselves. But we keep getting this registration request every time a student switches seats in the room. Now we are getting an error message that says we have had too many registrations from this IP address.Is there a registration key that will work on more than one computer? Is there any way around the registration issue?
I've got a game I would like to build, it will require a central game server where peoples data (game data :-)) will be sent to and shared with other players - how is the done. Is it remoting? TCP? something else - I need to study up on it but want to make sure I'm learning the right thing.
View 3 RepliesI recently added the crystal reports controls to my project. I'm using Crystal XI release 2. When I built my project I include all the crystal dll's in the release folder.I haven't done a setup project yet, so I just take the release folder over to the client and paste it into a directory in the Program files folder.I am getting an error on the crystal report form. I assumed as long as the dlls where in the release folder everything would work.Do i need to install a merge module or something on the clients pc?
View 2 RepliesSo, in another related post, i got the chat to send to a java server, cool.Now, it's a matter of sending it back to VB.on the server side of things, (in java), I am using the following
JAVA
public static void sendback(String what2send) throws IOException {
ObjectOutputStream oos = new ObjectOutputStream(mySocket.getOutputStream());
[code]....
I made a simple chat system that connects to a server with a client one on one. I'm not really sure how to get multiple clients with the server so that you can see everyone's messages. Here is the source code. The Server only accepts one client at a time.
View 3 RepliesHow can I make a server application? How can I then create another application that is meant for the clients!? I have tried to look for something for over 3 months now. All that stuff about TCP/IP just is not working! Using TCP/IP I cannot connect to anyone out of my network! How can I make it so when you start the client application it will automatically connect you to the server. Then having 2 textbox's and one button that says "Send". One text box will have what has been send and recived and the other textbox will be what you type to then later send it! How can I make it work with up to five clients!?
View 4 RepliesI have a large class that I built to act as a TCP server for one of my silverlight applications. When a user connects it stores the tcp client into a table for later communication. The problem is that when I send data, with more than one client connected, it loops through both open TCP Clients but some how sends the data twice to the same client.... the other tcp client never receives his data. This isn't a logic issue as I can step through the code and see that it is clearly taking each individual TCP client out of the table and sending it the data. They all use the same port... could that be the issue? And if so how do I make it so that it can connect on one port then transfer to another? I have tried using different computers for connecting but still the most recently connected client receives all of the packets of data.
View 6 RepliesIs their a way to give every client that is connected to the server an ID.
EX: SendMessage(Client.ID,"Hello")
I built a chat program using Socket (winsock2005dll) but it did not work well on internet, I've heard that using system.net is more powerful
View 1 RepliesIm trying to add a chat nudge,I have a server that basiclys just broad cast it and sends it to who ever is connected
View 10 RepliesOk so i'm particularly new to this, just wondering. I have a combobox on a form, I have an array set up so the items in the combobox have values. The problem is I need to send the values from the combobox to a textbox from a different form. So basically how can I connect a combobox to multiple forms.
View 6 Repliesi wanne make a program (a client and a Server) oke you run the server and get a window you enter your ip and the name of your Chat server and type a password, than you click start server and the server windows goes down, you give the ip and the name from the server on a friend and he gots a client he types your ip in a window and the name of the server, he connects and we can chat
View 2 Replies[URL].. Unfortunately that is for i think it was 2003. Most likely it wont update and still work. along with that would it be possible to have users be able to private messege each other, create their own user rooms, and add admin features such as kick, ban, look up ip and such?[URL].. as my login system. its been modified so that the connection string wasnt hard coded.
View 1 RepliesI've been attempting to create a Chat client/server for a while and I found some good tutorials for Visual Basic Express 2008. But I would like my client to be able to disconnect and have the server acknowledge the fact (and send the same message that it does when someone connects) that a client disconnected.
[Code]
i wanted to try make a chat program using ftp, im not sure how it will work, i imagined some txt documents in the ftp using winsock etc.
View 4 RepliesI have made a GUI for my chat program and I'm going to finish the server stuff later. I am using Emoticons ( ) in both ASCII form and picture form. The ASCII ones work perfectly. I have taken the picture ones and put their pictures on buttons so their click event copies and pastes the picture to the rich text box I'm using for text input, but when i hit the submit button, it doesn't copy the picture.I'm using this code to copy the image from the buttons:
Clipboard.Clear()
Clipboard.SetImage(Me.btnSmi.Image)
Me.rtbIn.Paste()
ive tried making it so it copies the picture from the rich text box but that didnt work. i tried declaring a global variable (imgEmo as image) and the setting the variable = to what ever emoticon button is pushed at the time (click event) and using the following code in the submit button's click event:
Clipboard.Clear()
Clipboard.SetImage(imgEmo)
Me.rtbChat.Paste()
This is the code for my submit button:
rtbChat.Text += ((txtIn.Text + (" --") + (TimeOfDay)))
As a side problem, how do i make it so that every time i hit the submit button it starts a new line and formats the comment like this:
James says: (what ever the message is) --(TimeOfDay)
Kristie says: (What ever her message is) --(TimeOfDay)
I understand that for her answer to be there i need a server and all sorts of other code but i am not interested in that yet. I just need that format.
(Name) says: (string) --(Time)
(Name) says: (string) --(Time)
The name is coming from a separate form, the login form, and it is displayed in the top of my main form as "-- Welcome (Name)". i used the text changes event of the main form to then close the login form. I tried using this line of
'This was a global
Dim strNom As String = Login.txtUrn.Text
'in the submit button's click event
rtbChat.Text += ((strUrn) + ("says: ") + (rtbIn.Text) + (" --") + (TimeOfDay))
strUrn = strNom
This did nothing, in the chat box it returned "says: (message) --(TimeOfDay)".
i just want to ask about on how to check if i am successfully connected in ms sql 2008 in vb.net silverlight.
View 1 RepliesI have a system that can add, edit, delete and search data that is in ms access. That ms access is connected to my vb 2008. I'm upgrading my system so that it can print the access file.
View 1 RepliesI'm planning to make multiple projects, which could connect (or comminicate) together. It's like a designing Network Program. There'll be a main program and some sub programs. These sub programs will send the informations about other computers which is on my network to the main program. If you ask "Why do you need to get infos about other computers?" ,then let me explain. I'm using limited internet connection and I'm not the only one who's using this wireless network. If I get over the limit, I'm paying some limit-upper fee. So, I've to control others internet usage to not to get over the limit. I've just made a small download counter program for my pc, but as I said, I want to convert it to a bigger project, with network solution. Could anyone refer me any resource, or show me any starting point?
View 4 RepliesIs their a way to send the server client info(account) With out connecting to the server(Full back and forth communication).
View 4 RepliesI want to develop a chat application with a server/client model, opening TCP or UDP sockets in VISUAL BASIC 2008. Is there a working example I can download, or some code to help me with this project? [code]Now, instead of 127.0.0.1 I should put some variable or something that keeps the IP address of the target machine?
View 1 RepliesI've been working on a tcp online chat. I heard that you need to configure your router to allow other pc to connect or something?
Server :
Imports System.Net, System.Net.Sockets
Public Class frmServer
Dim serverSocket As Socket
Dim clientSocket As Socket
[Code] .....