Sockets

Jay1b

Well-known member
Joined
Aug 3, 2003
Messages
640
Location
Kent, Uk.
Hi

Im still looking at Sockets and still cant get them working. Im using them to connect to a IP Wallboard and to send a message. I can do this using WinSock no problem, but not the correct .NET way.

This is what ive got so far, I get a message saying connected but i can find any form of client.Send or something like that.

Code:
            Dim client As New TcpClient()
            client.Connect("172.28.48.150", 3500)
                   If client.Connected = True Then
                MsgBox("connected")
            Else
                MsgBox("not connected")
            End If

Ive looked at plenty of examples, but none seem to help. They all allow for two way communication that this doesnt require and use treads as well - which again i require (fortunately as i havent used them before either).

Could someone point me in the right direction please?

Thanks
 
Back
Top