Search found 7 matches

by navydev
Tue Jan 13, 2009 9:41 am
Forum: NetBurner Software
Topic: Problems with UDP Send unicast
Replies: 5
Views: 6949

Re: Problems with UDP Send unicast

I have been running WireShark and the packets are exactly what is being sent from within the code. Wireshark does capture them, but at intermittent times they just are not seen on the wire. I do have debug statements in the while loop just after the send function is called and it prints everytime so ...
by navydev
Tue Jan 13, 2009 6:08 am
Forum: NetBurner Software
Topic: Problems with UDP Send unicast
Replies: 5
Views: 6949

Re: Problems with UDP Send unicast

Thank you for the response, it is appreciated. I am sending 1 message per second and there is no error being generated. I actually wish there was. The Send function is a void function and does not
return a value. The receive thread is receiving at 50 times per second and continues to receive long ...
by navydev
Mon Jan 12, 2009 12:53 pm
Forum: NetBurner Software
Topic: Problems with UDP Send unicast
Replies: 5
Views: 6949

Problems with UDP Send unicast

I have two threads running, one receives a mulicast message at 50 hz, the other sends a message at 1 hz unicast. The Send function in the send thread stops sending at intermittent times. Could run for thirty minutes, could run for 15 minutes, could run for 1 minute.

Has anyone come across this ...
by navydev
Thu Jan 08, 2009 7:41 am
Forum: NetBurner Software
Topic: [Linker error] undefined reference to 'set_time'
Replies: 1
Views: 3810

[Linker error] undefined reference to 'set_time'

#include<nbtime.h>

tm sysTime;
time_t time_to_set;

cout << "Enter the hour: " ;
cin >> sysTime.tm_hour;
cout << "Enter the minutes: " ;
cin >> sysTime.tm_min;

sysTime.tm_sec = 0;
sysTime.tm_mday = 8;
sysTime.tm_mon = 1;
sysTime.tm_year = 109;

time_to_set = mktime( &sysTime );
set_time( time_to ...
by navydev
Tue Jan 06, 2009 10:41 am
Forum: NetBurner Software
Topic: time functions
Replies: 0
Views: 3769

time functions

I am trying to use some of the time functions of time.h and
nbtime.h, specifically

time_t timeNow;
timeNow = time( &timeNow );
I get a linker error for the function time.

and the other linker error get is on the function set_time;

time_t setTime = ( ( sysTime.tm_hour * 3600 ) +
( sysTime.tm ...
by navydev
Thu Dec 04, 2008 7:03 am
Forum: NetBurner Software
Topic: ISInit() function
Replies: 3
Views: 4756

Re: ISInit() function

Thank you! I actually figured out what my real problem was.
I wasn't using a separate stack for the second task I was creating,
I was using the same stack for both tasks. But thank you for that
speedy and no doubt useful response.
by navydev
Thu Dec 04, 2008 6:41 am
Forum: NetBurner Software
Topic: ISInit() function
Replies: 3
Views: 4756

ISInit() function

I am trying to setup multitasking in my app.
One of the instructions to set this up was to use
OSInit(); and OSStart(); When I tried to compile with this I encountered an
error telling me that the the parameter list was incomplete, that
it should be OSInit( void *idle_task_stk_top, void *idle_task ...