Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

 

           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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...