+ Reply to Thread
Results 1 to 2 of 2

Thread: ConnectionResponse Error

  1. #1
    Junior Member
    Join Date
    Jun 2012
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Unhappy ConnectionResponse Error

    I had developed a windows application using C# (.Net). When my server is running and i use the connect method the ConnectionResponse event handler gives me response as Successful (true) but, when my server is stopped and i use the connect method the Connectionresponse event handler doesnt give me any response, it should give Successful (false).

    I am using Electroserver5.dll version 5.4.4499.16143.

    Please suggest.

  2. #2
    Administrator tcarr's Avatar
    Join Date
    Dec 2007
    Posts
    7,210
    Thanks
    80
    Thanked 1,086 Times in 1,075 Posts
    Are you connecting over TCP or HTTP?

    edit: I found an existing ticket about this problem. There's a second ticket specifically for HTTP that says that ConnectionAttemptResponse returns success if the ES5 is down, but that it works for TCP.

    A workaround in either case is to set a timer. If you do not get a ConnectionResponse of any kind before the timer goes off, then the connection fails.
    Last edited by tcarr; 06-27-2012 at 06:38 PM.
    Teresa Carrigan
    Senior Engineer
    Electrotank, Inc.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts