VS 2008 Turn Winsock Chat System Into A Multi-client Chat System?
Mar 25, 2011
i 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]...
View 3 Replies
ADVERTISEMENT
Feb 10, 2010
Make a Chat Server and Client using winsock:I want to have a Login forum and Be able to ban user and Give them ranks I would like it to Use INI files.
View 2 Replies
May 31, 2009
How would I use this for a chat client? I'm not sure where to even start and the internet is helping me find much about it.
View 4 Replies
May 31, 2009
I want to make a basic winsock chat server and client, and I just need to know the basics, like.How do you determine where to send the data?How do you determine where to receive data from?How to actually send and receive the data?I just don't want to read from a website that has a lot of extra information. I just want to start off with the basics so I can actually learn.
View 2 Replies
Oct 19, 2009
I have been searching for days and months on youtube,google and everywhere else about how to create a Multi user chat system, where everybody can talk to each other all at once. Some people say Winsock is the way to go and others say TCP/IP is the way to go. I have little to no experience in either one of them. So if somebody can give me a really great turtioal or show me the guide lines on how to create a server and a client I would highly appreacite it. I am using Visual Basic 2008 express.
View 3 Replies
Aug 10, 2009
Multi-User Chat Program (Server & Client) with Main Server?
View 1 Replies
Jan 15, 2010
I'm trying con build a simple chat client/software (whole in on executable) wich start listen from the start on the port 5900 and when a client connect to that port the chat is established.
The problem is that only the client can chat to the server, the server cannot answer the client because the connection is working in one way.The i've tried to connect from "server" to the client when it establishes a connection but the system crash warning me that the port is already on use.
[Code]...
View 1 Replies
Mar 16, 2010
I want to create a tcp/ip chat system using vb.net. I have created using vb6 using winsocks but unfortunately I couldnt find it in VB 2005. I have discussed with some friends about it and they also couldnt do it. I like to try something I dont know in this way I learn more. I want to create the in such a way that the client and server both have an interface and the client and server both have port text-boxes and the client has the host text box and the connect button.
View 2 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
Jul 15, 2009
I wrote a server for a tcp/ip chat program using the system.net.sockets class. When I run the program and the client tries to connect to it, there's an error and it won't work. I am positive that the issue isn't with the client, as I have made a connection with the client before.
Imports System.Net
Imports System.Net.Sockets
Imports System.IO
Public Class Form1
Dim server As New TcpListener(IPAddress.Any, 60)
Dim client As New TcpClient
[Code] .....
View 16 Replies
Apr 9, 2009
[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 Replies
Nov 14, 2009
Im trying to make my client send the account to the server and display it on a listview but im having some trouble. I tried to send some messages and it didnt work. The Client sends the account as "CLIENTINFO" + "|c + the users account. And on the server side the server reads it and splits sends it to the select but its not displaying the Clientinfo.[code].......
View 1 Replies
Aug 27, 2009
I have a chat/server system and when the text gets to a point were the scrollbar becomes active it dosnt go to the bottom it goes to the top. So say I was at the bottom of everyones text and than I write somthing it will shot me back to the top. My code is:TextBox1.Text &= vbCrLf & readData
View 2 Replies
Jul 22, 2009
I developed a chat application with an attendant chat server. Everything is working fine. The issue now is the fact that whenever the chat server goes down (for instance, the server system shuts down as a result of power failure or some other problem), by the time the server system come back on, the chat server would have to be restarted manually.
I believe (and I know) it is more appropriate for the chat server application to restart itself when the computer comes back on (and of course regardless of who is logged in and of course, even before anyone logs in). I have a batch file that executes the chat server. My attempt was to create a windows service that start automatically and runs this batch file using a Network Service account on the server system. Although, I'm having a hard time with this (temporarily), I would love to ask if there are any alternatives to using a windows service.
View 3 Replies
Aug 8, 2009
do this??& can I make a Main server like this?
View 1 Replies
Jul 10, 2009
i want to make my own Chat Client but i cant find any TUT'S i can only find them in vb6 so if anyone can point me to a tut.
View 2 Replies
May 18, 2010
if i create a chat program and use winsock to connect me and my friend would my friend have to download MSWINSCK.OCX to run the application?
View 2 Replies
Sep 16, 2010
Im working on this one application/chatter. What it does, theres a server, and lots of clients. Client sends data to server, server process's it, and the client receives the data (unless its a command, like /process username). Heres my problem. My client has a login feature, like yahoo. Client sends username/password to server. Server goes through list of usernames. Then sends it to client, wether it matches. But my client doesn't receive the data. Can anybody fix this, with my client code provided? Let me know if you need server code, and the extra script files/vb files. [Code]
View 5 Replies
Aug 20, 2011
So, 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]....
View 7 Replies
Apr 19, 2012
Chat Client to Client Without Server Just Use IP Address For it?
View 1 Replies
Jul 29, 2009
I have been trying for years making a network app.I need linked to a video or something, mainly on msdn or some microsoft site, because youtube created videos for coding aren't all that helpful as most of the microsoft made videos.
I need not linked to things like multi-user tcp chat application, as i have looked at these, and even found no code solution, but the no code doesn't allow too much customization and hard to deal with data received to make your own commands send and receive and have events for them.
The multi-user tcp chat application, it doesn't explain anything, just gives you the code for you to look at, and well, it's hard to understand.
I WANT TO MAKE THE PROGRAM BEFORE MORE YEARS PASS BY.
View 1 Replies
Mar 24, 2011
im a bit humiliated on searching the net with a step by step instruction on how to create a vb.net form app that can communicate to other computers using tcplistener/tcpclient.
View 11 Replies
Apr 10, 2010
I've created an application, And now need to add the chat feature. It just needs to be basic, But im un sure on how to code one since i am still a beginner at Visual Basic. I know there is a way via TCP Listener using Net.Sockets, But im stuck there. I am totally out of my mind when i think ill know how to code. But here is how the chat will work[code]...
Server side, Is just to host it. I will host it on a windows vps with ports opened, and Anyone who downloads the program can connect to the chat. The username or Nickname of the user will come from 'My.Settings.username'. At this point I am willing to pay someone to code this project.
View 2 Replies
Mar 13, 2011
Almost 2 months i try to find perfect solution for my project. I making one multi-user chat application with SERVER and CLIENT application. I read a lot of material about socket communication and try a million of examples all around, some in C# some in VB.net, but I can't find solution.Problem that every example and my try have is when 10-20 user chatting really fast, server reacting slow or whatever is, but final product is that two or many message show in one LINE. For example if i send string "test1" and an my friend, let's call him FRIEND1, send "test2" almost in same time, server sending it to all connected clients like this:stefanACM:test1FRIEND1:test2.I try to implement in my application "Asynchronous TcpListener & TcpClient" from jmcilhinney, but have same problem...
So, can anybody help me with this.I just need one server application that will recive connection, save IP and nick of connected user, and send every message that client sent to all connected users (of course without problem that I mention on beginning of post). On end, that when client disconnect just to close connection.From Client side I need just connect part, send and receive messages.
So in one line, I think I need BASIC EXAMPLE OF PERFECT MULTI USER CHAT CLIENT AND SERVER, without any hiden bug.If someone decide to help me with code,
View 9 Replies
Jan 15, 2012
I made one client-server chat application using vb.net. I want to know how can i change the form/icon color when a client sends a message and vice versa.
for eg: like in yahoo messenger or msn messenger,etc, How i user knows when he receives an message.
View 1 Replies
Aug 18, 2010
I have been searching far and wide for knowledge regarding how to make a server program with a client program.Think like Msn ( Messenger ) You have the client and you send a message which is then send through the client to the server, and then to some other client (a friend might be ).I want to make a semilar program where ill make the server and the client myself, i just need a hint or two to get started.
View 1 Replies
Mar 22, 2010
create a chat client for vb2008.The user logs in from a form, And they are taken to the main form with all the features. From their I want them to already be logged into the chat. The chat will get the username from the config.ini file. Since multiple people will be using this, I will be hosting the server part of the chat on a windows 2008 server.
View 2 Replies
Mar 6, 2009
I have been looking for a really detailed tut on how to use in a server to client chat room. I looked on google but they just post the script which helps alittle but I need a lot of detail to make a working chatroom.
View 2 Replies
Jan 8, 2010
Someone gave me a link to a Multi-User TCP Chat application once, but, there is a flaw in it, where it wont do special characters, such as Alt+1 will become a different character to the server than the one that was sent. Even I tried to see if the output was usable but it sees it as multiple chars, when it is only 1, and I can't find a link between what it sends and what the character is, so I can't just tell it based on whats sent what the char is, because I see no relation, I would have to type it out for each and every special character.
View 2 Replies
Jan 26, 2011
If I decide to build this, this would probably be my first "large" project i've ever done myself.What I am looking to build is a very simple Chat/IM client to use for the users in our office network. It would just call us their Windows logon name and use that to IM and the like. I'm talking a very simple client, with a list of names of people who are logged into the network, and option to IM them and an option to do a multiple user chat. It doesn't have to be visually stunning.
View 1 Replies