Sockets

Jay1b

Contributor
Joined
Aug 3, 2003
Messages
640
Location
Kent, Uk.
Hi

I'm still looking at Sockets and still cant get them working. I'm 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 i've got so far, I get a message saying 'connected' but i can find any form of client.Send or something like that.

Visual Basic:
            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

I've 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