Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Socket/TCPclient (Seriazlation)

Socket/TCPclient (Seriazlation)

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestionannouncement
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Hi Guys Im making a messanger for myself... in vb.net... everything works greate if i use text, but as soon as i try to send an object through sending works fine but receiving gives me lots of problems... Canyone help me with this? Here is my code for receiving Public Sub listen() Dim formater As New BinaryFormatter() Do While True Dim message As New Message() Try message = formater.Deserialize(stream) RaiseEvent update(message.ToString) RaiseEvent update(message.ToString & vbNewLine) Catch e As Exception MsgBox(e.Message) End Try 'If message Is Nothing Then Exit Do Loop End Sub

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups