Results 1 to 2 of 2

Thread: need help!

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Location
    Singapore
    Posts
    55

    need help!

    hi,

    i am trying to send text word using vb. net to java but the text word cannot send through. what should i do? below is the code that giving me the error


    Dim msg As String = Txtinput.Text
    Dim data As Byte() = System.Text.Encoding.ASCII.GetBytes(msg)
    client.Send(data)

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: need help!

    client.Send(data, 0,data.Length, SocketFlags.None)
    "The dark side clouds everything. Impossible to see the future is."

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