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. how to handle this socket exception

how to handle this socket exception

Scheduled Pinned Locked Moved Visual Basic
csharpsysadminhelptutorial
2 Posts 2 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.
  • D Offline
    D Offline
    d_smit
    wrote on last edited by
    #1

    hi, I have created two applications using vb.net. One acts as server and other as client. To have communication between these two, in server application i m using winsock control and in client application i am using socket class. when i sends data from client application, server connection dies while reading data second time and raises the exception and flashes error "An existing connection was forcibly closed by the remote host". Please tell at the earliest how this error can be resolved. how this connection can be kept alive. Thanks.

    T 1 Reply Last reply
    0
    • D d_smit

      hi, I have created two applications using vb.net. One acts as server and other as client. To have communication between these two, in server application i m using winsock control and in client application i am using socket class. when i sends data from client application, server connection dies while reading data second time and raises the exception and flashes error "An existing connection was forcibly closed by the remote host". Please tell at the earliest how this error can be resolved. how this connection can be kept alive. Thanks.

      T Offline
      T Offline
      Tom Wright
      wrote on last edited by
      #2

      Post some code of the connection routine for both client and server.

      Tom Wright tawright915@gmail.com

      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