Click here to Skip to main content
15,915,757 members
Home / Discussions / C#
   

C#

 
QuestionHow to call C++ program from C# program Pin
shimin30-Dec-02 7:16
shimin30-Dec-02 7:16 
AnswerRe: How to call C++ program from C# program Pin
Anonymous30-Dec-02 12:48
Anonymous30-Dec-02 12:48 
GeneralRe: How to call C++ program from C# program Pin
Thomas Lau30-Dec-02 18:35
Thomas Lau30-Dec-02 18:35 
GeneralFatal out of memory error. Pin
shimin30-Dec-02 6:49
shimin30-Dec-02 6:49 
GeneralRe: Fatal out of memory error. Pin
leppie30-Dec-02 7:03
leppie30-Dec-02 7:03 
GeneralRe: Fatal out of memory error. Pin
shimin30-Dec-02 7:12
shimin30-Dec-02 7:12 
GeneralRe: Fatal out of memory error. Pin
shimin30-Dec-02 7:14
shimin30-Dec-02 7:14 
GeneralTelnet - sockets to a ServerIron load balancer Pin
Chris Donnan30-Dec-02 6:03
Chris Donnan30-Dec-02 6:03 
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
GeneralResizing Form Pin
Mazdak30-Dec-02 3:40
Mazdak30-Dec-02 3:40 
GeneralRe: Resizing Form Pin
SHaroz30-Dec-02 5:02
SHaroz30-Dec-02 5:02 
GeneralRe: Resizing Form Pin
Mazdak30-Dec-02 7:25
Mazdak30-Dec-02 7:25 
GeneralCreating Desktop themes Pin
Balachandar Ganesan30-Dec-02 1:57
Balachandar Ganesan30-Dec-02 1:57 
GeneralRe: Creating Desktop themes Pin
leppie30-Dec-02 7:08
leppie30-Dec-02 7:08 
GeneralRe: Creating Desktop themes Pin
David Stone30-Dec-02 9:05
sitebuilderDavid Stone30-Dec-02 9:05 
GeneralMigration MFC(Win32) to C# Pin
Wizard_0130-Dec-02 1:51
Wizard_0130-Dec-02 1:51 
GeneralRe: Migration MFC(Win32) to C# Pin
Mazdak30-Dec-02 7:31
Mazdak30-Dec-02 7:31 
QuestionHow to register the Com+ component on Client without msi file? Pin
Aaron K.B. Huang29-Dec-02 19:00
Aaron K.B. Huang29-Dec-02 19:00 
GeneralClick event problem Pin
Nick Parker29-Dec-02 13:55
protectorNick Parker29-Dec-02 13:55 
GeneralRe: Click event problem Pin
Paul Ingles29-Dec-02 14:01
Paul Ingles29-Dec-02 14:01 
GeneralRe: Click event problem Pin
Nick Parker29-Dec-02 14:27
protectorNick Parker29-Dec-02 14:27 
GeneralRe: Click event problem Pin
James T. Johnson29-Dec-02 19:15
James T. Johnson29-Dec-02 19:15 
GeneralRe: Click event problem Pin
Nick Parker30-Dec-02 1:22
protectorNick Parker30-Dec-02 1:22 
GeneralRe: Click event problem Pin
Nick Parker30-Dec-02 1:29
protectorNick Parker30-Dec-02 1:29 
Generalopening a default file browser of sorts Pin
jtmtv1829-Dec-02 12:51
jtmtv1829-Dec-02 12:51 
GeneralRe: opening a default file browser of sorts Pin
jtmtv1829-Dec-02 13:05
jtmtv1829-Dec-02 13:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.