Combobox Unhandled Exception - Make A Basic Winsock Chat Server And Client?

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


ADVERTISEMENT

VS 2008 : Making A Chat Client And Server With Winsock?

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

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

Make A Basic Client And Listener Chat Room - : Error1Method 'Private Sub CliInfo' Does Not Have A Signature Compatible With Delegate

Dec 9, 2009

Im trying to make a basic client and listener chat room but im having problems with method invoker.

Error: Error1Method 'Private Sub CliInfo(CliMess As String)' does not have a signature compatible with delegate 'Delegate Sub MethodInvoker()'

Imports System.Net.Sockets
Imports System.Threading
Imports System.Text[code]......

View 5 Replies

VS 2010 Attempting To Make Basic Client/Server?

Jan 6, 2011

Im trying to make a basic Client/Server. The server can handle multiple clients and each client can send /recieve messages from the server.It works fine with just 1 client. but as soon as i connect with a second client. The first one no longer works. Anything sent from the first client is ignored by the server and when running the server in debug mode it gets errors from the client 1 stream.

Its as if the server will only hold one stream at a time and whenever another client joins the other streams are shut but the new client works fine. Even though i never close a stream.

[Code]...

Edit: FINALLY FOUND IT! Stupid mistake i forgot to put the ClientN variable up by one for each new client.So i was creating a new space in the array but erasing the first slot for the new client

View 2 Replies

VS 2008 Chat Server/client - After The Client Clicks Disconnect Or Closes By Task Manager, Looses Connection

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

Client Server Program Without Winsock?

Apr 16, 2011

how can i make claint/server program without winsocet

View 1 Replies

VB 2010 Winsock Client / Server

Jun 15, 2010

I am currently learning how to program in VB and am using sample code to make a VB Winsock client and server. I beleive the sample code was from VB 6.0. [code]Overload resolution failed because no accessible 'GetData' accepts this number of arguments.I am getting the exact same error in the exact same place in the server aswell. I have tried removing the vbString, but it comes up with a warning and the program doesn't function like it should. I am programming this in Visual Basic 2010 Express.

View 3 Replies

Chat Client To Client Without Server Just Use IP Address For It?

Apr 19, 2012

Chat Client to Client Without Server Just Use IP Address For it?

View 1 Replies

Client Server Winsock Or Socket Programming?

Jul 14, 2009

how to access client side activity i.e. which client is connected and which computer connected at the same time from server.

View 1 Replies

Winsock - Code A Client - Server Program

Sep 6, 2009

I am trying to code a client - server program. I have 4 winsock controls on my main form. The client is able to connect to a free one just fine, and can figure out if they are all in use. When testing my program, I found that when I try to send data through a socket, then send different data directly after, it jumbles the data together.

CODE:

That is the code I am using. When the client is connected to the server, and ready for data, it sends the packet "@Ab". When the server receives this packet, It is supposed to send the welcome alert, and then current events posted in the server.

On the client side, there is a message box that is supposed to show the welcome alert, and at the bottom on a status strip, the current events are supposed to be listed.

When the welcome alert shows, it contains the alert text fine, but then shows the packet for the events after it.

View 3 Replies

VS 2008 Multi-User Chat Program (Server & Client) With Main Server?

Aug 10, 2009

Multi-User Chat Program (Server & Client) with Main Server?

View 1 Replies

.net Multi Chat Client/server?

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

Client-server Chat Application

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

Communications :: Server / Client Chat?

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

How To Use In A Server To Client Chat Room

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

Unhandled Exception Of Type 'Oracle.DataAccess.Client.OracleExc?

Apr 11, 2011

I am working on some window application and facing the following error while running my code An unhandled exception of type 'Oracle.DataAccess.Client.OracleException' occurred in oracle.dataaccess.dll

Additional information: System error. I don't know what type of error this is. I have successfully added the reference dll file

View 2 Replies

VS 2005 Creating Client-server Chat?

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

Client/Server Chat Application ..Works Only On Same Network?

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

Create UDP Multicast Client And Server Chat Application?

Mar 23, 2003

UDP multicast client and server chat application.

View 10 Replies

Making Voice Chat (client/server)on .net2008?

Mar 6, 2010

making voice chat (client/server)on vb.net2008

View 6 Replies

Tcp/ip Client Server Lan Chat Using Visual Studio 2005?

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

VS 2010 TCP Chat Server Closes Socket On Client DisConnect?

Jun 24, 2010

I am working on a chat client and server, and so far it works well, but when I close the client, the server throws an exception because it continues to try to do processes on the disconnected client. I have tried adding clientSocket.Close() in various places throughout the client and server with no luck. Does someone know how to add the disconnect code to either the server or client with this code?Server:

Imports System.Net.Sockets
Imports System.Text
Module Module1

[code].....

View 5 Replies

Server/Client - Basic Tcp Server/client Application

Mar 30, 2009

I've basically made a basic tcp server/client application. The thing is that I'm behind a router and so will be the other people that use my clients. I've had to use port-forwarding or the software "rinetd"to run quite a few applications online.

Let me explain: I'm on a lan network that connects to the internet. Whenever I want to host a server - for instance a basic ftp or http server. If I give my external IP to anyone, they won't be able to access my server. Even if I portforward, it doesnt work. I have to use rinetd here. For other applications, portforwarding works. I'm not sure how these things work at all.

Anyway, my issue now is that I have created this server/client application. I'm having serious doubts that if I run the server, I'll have to either a) portforward or use rinetd to get people to connect to my server. IF I need to portforward, that's fine. However, using rinetd would really suck... My 2nd concern is as follows: IF the person running the client is in a similar situation as me (i.e he's on a lan that has a router which connects to the net), will he have to portforward or use rinetd as well? If he portforwards that's fine. But I don't think I could get people to use rinetd.... Also, if there are more than 1 person on a lan trying to connect to my server, there is a big problem when they try to portforward: they will only be able to allocate one of their internal ip to that port, and the others won't be able to connect, right? How does this work? I mean, I use many softwares like msn/skype/(some games)/firefox that do not need portforwarding/rinetd. Yet they work. My housemates(other people on the lan) use the same softwares, and it works fine. There's no clash/probs watsoever How come these run fine?

Anyway, back to my issues. Given I have no knowledge about how the above work, I was wondering whether there was a way to host a vb .net server application on an external website (external to my house) so that I might *avoid* the above mentioned problems, and to what extent that would be a sound solution.

View 11 Replies

VS 2008 Make My Own Chat Client But Cant Find Any TUT'S

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

VS 2008 Make A Basic Multi-Chat?

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

Remote Desktop Application? Safe To Use Winsock In Creating A Client/server Application?

Jul 18, 2012

Im planning to create a Remote Desktop Application and I'm having problem with viewing other computers monitor or screen.

Im not asking for the code on how to do it. and one more thing is it safe to use winsock in creating a client/server application?

View 3 Replies

SQL Exception Unhandled Error Has Occurred While Establishing A Connection To The Server

Feb 24, 2006

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

View 2 Replies

Encrypt Some Basic Data Being Sent From Server To Client?

Oct 11, 2009

I need to encrypt some basic data being sent from server to client.

I was going to open a file in bytes, convert it to chrs (Modify odd numbers by adding 2 and even numbers by adding 3) then use Base 32 (Triacontakaidecimal) or Base 16 (although base 16 will occupy twice the space). Convert the data back to bytes and after do the same with the decryptor.

About using base 32, is there some sort of class in vb.net or maybe an api?

View 3 Replies

Make App To Log Into A Chat Messenger's TCP Server?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved