Jep, got it working as we speak :).
The only problem now is when I send out 2 commando's to the server, the second command doesn't work. Probably it disconnects after the first command.
The error
Unable to read data from the transport connection: An established connection was aborted by the...
I have tried that, and the server is listening now :).
However when i try to connect with the client to the server the server crashes and gives the following error
Value cannot be null.
Parameter name: buffer
Line: NetStream.Read(InputBuffer, 0, clientSocket.ReceiveBufferSize)
Here is the...
Wow, thanks for your help!
Yes, i'm just starting with the whole networking in VB. So i really appreciate that you have added these commands in your script, i can really use them.
Hello, i was learning about sending messages to the server -> client -> server, however after every client that gets connected it adds about 25% CPU. So after 4 clients the process is using 100% of CPU usage.
Imports System.Net ' for IPAddress
Imports System.Net.Sockets 'for TcpListener...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.