User Profile

Collapse

Profile Sidebar

Collapse
etnaelk
etnaelk
Last Activity: Oct 12 '07, 07:36 AM
Joined: Jun 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • thanks alot plater...i think this will work just great
    See more | Go to post

    Leave a comment:


  • Plater,

    This idea is one that I've definitely had but not sure how to implement. Do you have any idea to access the processes (like Task Manager), see if it is running or not and if not relaunch the app?

    I'll try putting smaller try/catches too.

    Thanks again
    Nick
    See more | Go to post

    Leave a comment:


  • Its not installed as a windows service, just a console application I want to have constantly running. I definitely do want to try to avoid these exceptions but in the mean time would like to find the best practice on how to do this.

    When I catch the error, I try to create a new instance of the class but it doesn't start correctly. Could you tell me the best way to re-instantiate the object? The catch is made at the end of the code......
    See more | Go to post

    Leave a comment:


  • Resource Monitor/ relaunching an application that crashed

    Hi all,

    I am writing a proxy server in C# and it crashes (fairly) often. I have my code in a try catch block and I catch all the types of exceptions it throws. But I am looking for a clever way to relaunch the program when this happens as it dies.

    It is a C# Console Application in .NET 2005.

    Any help is appreciated.

    Thanks alot,
    Nick
    See more | Go to post

  • etnaelk
    replied to setting NetworkInterface info c#
    in .NET
    hi plater,

    well, i would like to change a couple parts of the socketinfo OF the
    HttpWebRequest. .. i.e. bind all requests for files with .mp3 to use my wired
    interface and bind all requests for html to use my wifi interface.

    any ideas at all?

    thanks,
    nick
    See more | Go to post

    Leave a comment:


  • etnaelk
    started a topic setting NetworkInterface info c#
    in .NET

    setting NetworkInterface info c#

    Hi all,

    I am working on a custom Proxy Server in C# that can make HttpWebRequests / Responses via
    two Network Interfaces (one wired, one wifi). I think there are three general approaches to this:

    1)give up on HttpWebRequests , use Sockets/TcpClients and bind my own socket to each interface

    2)Find a way to gain access to changing System.Net.Netw orkInformation. NetworkInterfac e objects

    ...
    See more | Go to post

  • etnaelk
    started a topic IE Browser Proxy issue - NetworkStream HTML Images
    in .NET

    IE Browser Proxy issue - NetworkStream HTML Images

    Hi all, I have a real bugger of a problem that I just haven't been able to figure
    out. I am working on writing my own proxy server in C# using TcpListener,
    TcpClient, HttpWebRequest/Response and NetworkStream. I have everything
    working pretty well except images won't load to their location.

    ------------------------------------------------------------------------------------------------------------------
    ...
    See more | Go to post
No activity results to display
Show More
Working...