Results 1 to 2 of 2

Thread: Connect and Communicate with a server

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2010
    Posts
    49

    Connect and Communicate with a server

    ...
    What I am trying to do is to connect to a server and be able to send and receive data packets in hex.
    How?!

    I am using Vb.NET 2010.

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: Connect and Communicate with a server

    Use the TcpClient class to connect to the server.
    Just a FYI, hexadecimal is just a way to represent an integer. You do not send and receive hex, you send and receive bytes. How you choose to format these for display is another story.
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width