Programming Tutorials

Comment on Tutorial - A tutorial on Chat Server and Chat Client in VB.net By Issac



Comment Added by : Federico

Comment Added at : 2012-06-01 13:55:13

Comment on Tutorial : A tutorial on Chat Server and Chat Client in VB.net By Issac
[English]
Good morning ... the question arises in the following, when I start the server and a client, write the name of it and connect, now when I close the client form returns me an error in the following line:

serverStream.Read(inStream, 0, buffSize)

I tried try ... catch ... closing connections, TCP client, but nothing. Any idea ¿?

[Español]
Buenas... la duda surge en lo siguiente, cuando inicio el servidor, y un cliente, escribo el nombre del mismo y lo conecto, ahora cuando quiero cerrar el formulario del cliente me devuelve un error en la siguiente línea:

serverStream.Read(inStream, 0, buffSize)

Probé con try... catch... cerrando las conexiones, tcpclient, pero nada. Alguna Idea¿?


View Tutorial