AirNav RadarBox
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 


Author Topic: No more data from port 7879?  (Read 11232 times)

0 Members and 1 Guest are viewing this topic.

Harry

  • Jr. Member
  • **
  • Posts: 98
No more data from port 7879?
« on: March 22, 2008, 05:34:29 PM »
Hi All,

With the use of version 1.5 I don't get any data from port 7879? Did I miss something about the data being send via ports? (BTW I did a search on port and on 7879, but couldn't find anything.

Harry

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4127
Re: No more data from port 7879?
« Reply #1 on: March 22, 2008, 05:35:30 PM »
One you connect to the port, the data will be sent after 5 minutes. As the port is delayed.

This is a change from earlier versions where data which was 5 minute delayed will always be output. Now once you connect it starts to store data and begins outputting after 5 Min's.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: No more data from port 7879?
« Reply #2 on: March 22, 2008, 05:37:22 PM »
I having a telnet session open for about 30 minutes, but still no data.

Harry

One you connect to the port, the data will be sent after 5 minutes. As the port is delayed.

This is a change from earlier versions where data which was 5 minute delayed will always be output. Now once you connect it starts to store data and begins outputting after 5 Min's.

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4127
Re: No more data from port 7879?
« Reply #3 on: March 22, 2008, 05:43:04 PM »
Thats weird, we are running a few apps here with it. Close down RadarBox and open it again and connect and wait 5 mins.

If it doesn't work msg us and we will flag it as bug and have a look.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: No more data from port 7879?
« Reply #4 on: March 22, 2008, 06:00:40 PM »
I having a telnet session open for about 30 minutes, but still no data.

Harry

One you connect to the port, the data will be sent after 5 minutes. As the port is delayed.

This is a change from earlier versions where data which was 5 minute delayed will always be output. Now once you connect it starts to store data and begins outputting after 5 Min's.

I can confirm that both port 7879 and 30003 do give data with V1.5, no question about it.

You can either use Windows Hyperterminal or run telnet in "DOS" from the Windows | Start | Run menu.

With Hyperteminal, you want:

Connect using TCP/IP
Host Address: localhost
Port: either 7879 or 30003 depending on what data you want.

Using telnet, once you have the DOS window, type:

open localhost 7879

or

open localhost 30003

See the attached files below for examples of data from the ports.



[attachment deleted by admin]
« Last Edit: March 22, 2008, 06:04:57 PM by Allocator »

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: No more data from port 7879?
« Reply #5 on: March 22, 2008, 06:38:14 PM »
Ok, thanks. I restarted my pc and now I'm seeing data from port 7879.
My last question for today: did the format of the output changed during version 1.4 /1.5?

Harry

I having a telnet session open for about 30 minutes, but still no data.

Harry

One you connect to the port, the data will be sent after 5 minutes. As the port is delayed.

This is a change from earlier versions where data which was 5 minute delayed will always be output. Now once you connect it starts to store data and begins outputting after 5 Min's.

I can confirm that both port 7879 and 30003 do give data with V1.5, no question about it.

You can either use Windows Hyperterminal or run telnet in "DOS" from the Windows | Start | Run menu.

With Hyperteminal, you want:

Connect using TCP/IP
Host Address: localhost
Port: either 7879 or 30003 depending on what data you want.

Using telnet, once you have the DOS window, type:

open localhost 7879

or

open localhost 30003

See the attached files below for examples of data from the ports.



AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4127
Re: No more data from port 7879?
« Reply #6 on: March 22, 2008, 06:59:17 PM »
there has been no change.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: No more data from port 7879?
« Reply #7 on: March 22, 2008, 09:32:41 PM »
Ok. Still there is something strange going on.

After closing down the telnet session and restarting a telnet session I do not get any data  from the port. ( I can connect, but no data will appear) I have to restart my pc to get the data coming again.

Further I have been using a program to feed my website with hex codes for over 6 months now. After the switch to 1.5 my program isn't working any more. This morning (before 1.5) is was working and after the upgrade it doesn't.

Is it normal to do a restart to get the telnet version working again?

Harry
 

there has been no change.

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: No more data from port 7879?
« Reply #8 on: March 22, 2008, 09:44:12 PM »
You have to wait another 5 minutes each time you give the telnet command.  Don't quite know how this works, but it is obviously a security restriction.

There is no need to restart your PC each time.

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4127
Re: No more data from port 7879?
« Reply #9 on: March 22, 2008, 09:45:17 PM »
That sounds like a bug, that if you disconnect it won't let you see the data again unless you restart RadarBox. We will take a look at that.

You should though be able to get the hex codes as the data structure has not changed.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: No more data from port 7879?
« Reply #10 on: March 23, 2008, 01:22:57 PM »
That sounds like a bug, that if you disconnect it won't let you see the data again unless you restart RadarBox. We will take a look at that.

You should though be able to get the hex codes as the data structure has not changed.

I’m not that technical, but maybe the follow makes some sense.

Sequence of starting programs makes a difference.
First I start my own developed program. Program will feed my site OK. A telnet session only will give <MODESMESSAGE></MODESMESSAGE> as output.
If I fist start telnet and then my own program, my program will not process the data (this is because it will only get <MODESMESSAGE></MODESMESSAGE> as input.

I’m still not sure if it is related or not, but closing down the telnet or my program : radarbox give network connection green, but the tab network will give network (0).  If I go to the tab Network and uncheck Get flight from network and then I  check this option again. The network will stay empty,

Closing down Radarbox will give an error.

Restarting Radarbox will give me back the network traffic. This moment I see on the tab Network (762).

A telnet session will give me or nothing or only: <MODESMESSAGE></MODESMESSAGE>

After restarting the pc everything seems to be back to normal and I can reproduce the above.


My program uses this code to make the connection

For opening:
m_socClient = New Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)

            Dim ip As IPAddress = IPAddress.Parse(host)
            Dim iPortNo As Integer = port

            Dim ipEnd As IPEndPoint = New IPEndPoint(ip.Address, iPortNo)

            m_socClient.BeginConnect(ipEnd, AddressOf OnConnected, Nothing)


For closing connection:
        Dim ar As IAsyncResult

        Try
            m_socClient.EndReceive(ar)
        Catch ex As Exception
            System.IO.File.AppendAllText("error.txt", ex.Message & vbNewLine)
        End Try
        Try
            m_socClient.Shutdown(SocketShutdown.Both)
        Catch ex As Exception
            System.IO.File.AppendAllText("error.txt", ex.Message & vbNewLine)
        End Try
        Try
            m_socClient.Close()
        Catch ex As Exception
            System.IO.File.AppendAllText("error.txt", ex.Message & vbNewLine)
        End Try

        Try
            Dim e As New EventArgs
            RaiseEvent evtDisconnected(Me, e)
        Catch ex As Exception
            '  Trace.TraceError("ERROR in PortListener: " & ex.Message)
            System.IO.File.AppendAllText("error.txt", ex.Message & vbNewLine)
        End Try

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: No more data from port 7879?
« Reply #11 on: March 23, 2008, 02:05:28 PM »
Harry, just out of interest, are you running RadarBox recorder as well?

Harry

  • Jr. Member
  • **
  • Posts: 98
Re: No more data from port 7879?
« Reply #12 on: March 23, 2008, 02:37:45 PM »
Harry, just out of interest, are you running RadarBox recorder as well?

No.

Allocator

  • RadarBox24.com Beta Testers
  • Hero Member
  • *
  • Posts: 3568
Re: No more data from port 7879?
« Reply #13 on: March 23, 2008, 02:45:23 PM »
OK, no idea what the problem might be then.

The only time I had the disappearance of the Network traffic was with V1.4 I think - a previous version anyway.  V1.5 is very stable for me.

AirNav Support

  • AirNav Systems
  • Hero Member
  • *****
  • Posts: 4127
Re: No more data from port 7879?
« Reply #14 on: March 23, 2008, 04:09:12 PM »
Thanks Harry we will flag that as bug.
Contact Customer/Technical support via:
http://www.airnavsystems.com/contact.html
[email protected]