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. Telnet - sockets to a ServerIron load balancer

Telnet - sockets to a ServerIron load balancer

Scheduled Pinned Locked Moved C#
csharpalgorithmshelplearning
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.
  • C Offline
    C Offline
    Chris Donnan
    wrote on last edited by
    #1

    Hey, I have been working through many attempts to communicate with a ServerIron load balancer from a c#/ .Net app. I have tried an approach using a TcpClient, StreamReader and StreamWriter. Herein, I basically use a multithreaded approach and IAsyncResult callbacks. I have also tried a synchronous variation and a single threaded variation to reduce complexity in the face of continued lack of communication between my app and the load balancer. Alternatively I have tried using a Socket with my own read and write methods. I have searched and adopted a few other approaches from the web all to no avail. Basically, I am having issues where I cannot find a return of control from the ServerIron and/ or It pauses at odd places in the return stream. It will not recognize the terminating character variations be it; cr, lf or crlf. Apart from the specific implementation details, I am wondering if I am simply missing someting fundemental about telnet or about these machines. Others have recomended expect scripts, which I have looked at and effectively do the same thing I am attempting to do; read till you get a terminating character, then send data. I also do not want to leave the c# world at all, nor do I feel I should have to. I am not a beginner and I have several .Net apps in production. any help would be greatly appreciated. Thanks, Chris

    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