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. C#
  4. some thread problem in client/server application

some thread problem in client/server application

Scheduled Pinned Locked Moved C#
csharpc++sysadminhelpquestion
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.
  • S Offline
    S Offline
    selcux
    wrote on last edited by
    #1

    Hello, I have a problem on receiving messages from server. I developed a server in C++ and a client in C#. It seems that server runs well but when I try to connect, I get the message "unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an applicaion request." I'm not sure but when I was writing the client module, I used some eventhandlers to warn when data is read. May be this can cause some thread promblem because I use asynchronous communication. In addition, the client can send messages to server but is unable to receive any. Can somebody show me a way?

    A 1 Reply Last reply
    0
    • S selcux

      Hello, I have a problem on receiving messages from server. I developed a server in C++ and a client in C#. It seems that server runs well but when I try to connect, I get the message "unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an applicaion request." I'm not sure but when I was writing the client module, I used some eventhandlers to warn when data is read. May be this can cause some thread promblem because I use asynchronous communication. In addition, the client can send messages to server but is unable to receive any. Can somebody show me a way?

      A Offline
      A Offline
      Arjun Mjolnir Bahree
      wrote on last edited by
      #2

      What is the socket config you have done? It will depend upon it. I assume that the socket config is at fault

      Excelsior Arjun Bahree "By The Might of Mjolnir" I Came! I Coded! I Conquered!

      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