View topic - Get QNX 4 netstat data programmatically?

Get QNX 4 netstat data programmatically?

For the old QNX2 and QNX4 RTOS

Get QNX 4 netstat data programmatically?

Postby rpwalker1 » Thu Dec 14, 2017 3:55 pm

Is there any way to get the netstat data from within a program?

I'm trying to quickly determine when a socket connection is lost. I notice the output buffer begins to grow and thought about using that data to determine if the connection is down.

Rich-
rpwalker1
New Member
 
Posts: 1
Joined: Wed Dec 13, 2017 8:37 pm

Re: Get QNX 4 netstat data programmatically?

Postby Tim » Fri Dec 15, 2017 2:56 pm

What kind of socket connection do you have?

If it's tcp you can tell programmatically if the connection is lost without using netstat.

Tim
Tim
Senior Member
 
Posts: 1417
Joined: Wed Mar 10, 2004 12:28 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: Google Adsense [Bot] and 6 guests