VS 2008 - Disconnecting From Chat Server
Mar 31, 2009
I'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]
View 2 Replies
ADVERTISEMENT
Aug 10, 2009
Multi-User Chat Program (Server & Client) with Main Server?
View 1 Replies
Aug 18, 2011
TCP Server/Client - Disconnecting Sockets
View 3 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
Dec 13, 2009
I recently got into this article. It makes a chat server and people can connect to it like an AIM. The problem how would I disconnect from the server from the client. Because if I close the client application when its connected to the server it will crash the server as well. Please let me know if anyone has any solutions.
View 1 Replies
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 7, 2009
im trying to make a little application that will read an fps server chat log.the chat logs are plain text files that come in the format :
Billy says: yada yada yada
Bob says: mooo
on certain key phrases (which will be user defined) it will reply (also user defined) now my problems. (there are many). most of which stem from not actually knowing any syntax for this language.firstly im suffering something of a huge brain fart with trying to read only the last line. i have it currently reading though the whole file and counting line numbers but then i just hit a wall . what do i do with the line number? i cant find a simple way to stop and come then have it check again after a couple of seconds for a new line? allegedly filestream can seek the end of the file however all my attempts to do anything with filestream have met with absolutle failure.
this is what i currently have for this, and it works to some degree
FileReader = New IO.StreamReader(OpenFileDialog1.FileName)
Do While FileReader.Peek <> -1
txtln = FileReader.ReadLine()
[code]....
i have the remnants of both the options ive considered in there, and its almost doing what i need it to . i just have no idea what to put into the last section to make it wait for another line to be added to the text file, or use the linenumber to make it check back from there for more lines. i cant seem to find a wait/sleep/pause so i just dont know.
my other problem is one of file access. i am aware of some properties of filestream that allow for a shared read/write access for other programs . however as i stated before . i have had no success even getting this simple peice of code to work with filestream.
View 2 Replies
Jul 21, 2011
I am trying to create a simple chat server over vb that can relay messages back and forth using an echo server. Could someone point me in the correct direction to begin?
View 3 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
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
Feb 22, 2012
I am working on the client-server on my application and I am unsure which one of those method that I should use for the chat server. When I tried this:
Dim port As Int32 = 13000
Dim localAddr As IPAddress = IPAddress.Parse("127.0.0.1")
server = New TcpListener(localAddr, port)[code].....
I found that both of these methods are the same, I can connect to the server when I use either of them. tell me which one of them is the easy way and which one of them that I should use to connect to the server, send message...etc?
View 9 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
Nov 29, 2011
Read this: [URL]. Now the question: I want the client will connect to web server (or web hosting).
View 8 Replies
Dec 16, 2010
I am trying to write a program that has a server/listener program and then 2 client programs, the 2 client programs are supposed to be able to chat with each other. Can anyone point me in the right direction on this?
View 4 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 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
Aug 22, 2009
Im am completely bored and wanted to make my own version of the palringo chat messenger (just to log into the palringo servers tho) and i have what i believe EVERY bit of the server info i need. [code]...
View 7 Replies
Mar 6, 2010
I want to create a CHAT server?
View 4 Replies
Apr 23, 2009
I was wondering if its possible to create a chat that runs off of mysql and not a server?
View 4 Replies
Jun 8, 2012
i want to create a simple chat and server application but i dont know where to start in socket hope someone will help me to create the application.
i found some tutorial in .net but it doesn't explain the code.
View 3 Replies
Apr 6, 2008
Im using VB 2008 express but dw any code i get ill just use the tool 2008 has to put the code in 2008.Anyways what im trying to do is make a chat program for about 100-200.How can i get a server on my comp so i can update the list of usernames of passwords without updating the program? How can i get the program on there PC to check my server on my comp if there input is validate? How can i get several users into the chat?How can i get it to display there names when they join the chat and get it to disappear when they leave?
View 14 Replies
May 18, 2011
The server connects, the clients connect, one client sends a message to the server, and the server broadcasts it to the other clients. But what I want to do now is to also have the server communicate with the clients. But when I click on the server form, it freezes, and I cant do nothing.
I think this is because of me not creating a thread for the communication(I saw this on another forum), but I dont know how to do that. I copied basically all the chat program code from a site, and I dont know much of sockets and what not.
View 8 Replies
May 18, 2011
i'm doing a chat for a project, and it works like this. The server connects, the clients connect, one client sends a message to the server, and the server broadcasts it to the other clients. But what I want to do now is to also have the server communicate with the clients. But when I click on the server form, it freezes, and I cant do nothing. I think this is because of me not creating a thread for the communication(I saw this on another forum), but I dont know how to do that. I copied basically all the chat program code from a site, and I dont know much of sockets and what not.
View 2 Replies
Jan 22, 2012
I have google it but I couldn't find the answers. So basically I want to make a Client-Server chat. I just want to creating each server for the clients to entered the chat room with each different server, e.g: client 1 and client 2 entered chat server 1 (just a name of a room), client 3 and client 4 entered chat server 2 and so on. How I can do that?
View 5 Replies
Jun 21, 2010
I'm developing chat program. I have database on my webhosting where I store rooms and memebrship tables... I created the client, but I still cant do the server side of the program. It must be in win forms app.(I use .Net 3.5)Every tutorialSample of server side is for Console app. Client code is very close to this(if somebody need it): LINK
View 1 Replies
Mar 14, 2010
I have a client/server chat application which I made . My question is how do I make the application work not only Locally but On any other network. I tried putting my IP in the part of creation of the client socket .
View 2 Replies
Mar 23, 2003
UDP multicast client and server chat application.
View 10 Replies
Mar 6, 2010
making voice chat (client/server)on vb.net2008
View 6 Replies
Mar 11, 2010
i have wanted to create a TCP/IP Lan chat program in visual studio 2005. i have already created an interface for it but no codes yet. Attached are images of the client and the server.
View 3 Replies