The code below is program one - the client
Class TCPCli
SharedSub Main()
Dim tcpClient AsNew System.Net.Sockets.TcpClient
tcpClient.Connect("127.0.0.1", 8000)
Dim networkStream As NetworkStream = tcpClient.GetStream()
If networkStream.CanWrite And networkStream.CanRead Then
' Do a simple write...
Hi,
I am having trouble with outputting a label on screen.
Basically
lblwimax.Text = "This distance is " & distance & "miles. Will there be a sigal strength? " & signal
signal does not exist as such and has a blue line under it. the program still runs though. I enter distance as a value...
Hi,
I got the first code to work....
The second program, which would be the server program has a problem with:
const port as integer = 8000
dim tcpListener as TcpListener(port)
error when place cursor red tcplistener is 'public sub new(port as integer) is obsolete: Use TcpListener(ipaddr...
Hi,
A lecturer told me last night that I could use something called Winsock in vb.net? what is it and how do I get it to work?
basically, one program will reside on the client pc and the other on the server pc. The one on the client will send a number to the one on the server pc and the...
Hi,
I have two vb.net programs I have to get to talk too each other. How do I do this? I have to keep them seperate.
Then how do I get them to communicate across two seperate PCs? ie one on one pc and the other on another pc.
Thank you for your help. I look forward to your...
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.