Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Marco

Pages: 1 [2]
16
µTasker general / Re: about the udp use!
« on: February 11, 2009, 12:45:08 PM »
Thanks a bunch!  I think i understand now whats going on there.  I'm going to try that right now!

Cheers

Marco

17
µTasker general / Re: about the udp use!
« on: February 10, 2009, 01:48:43 PM »
Hi Mark

I have tried all day and gotten no where, this is the code I got so far.

#include "config.h"


extern void fnMyFirstTask(TTASKTABLE *ptrTaskTable)
{

  fnBindSocket(2, 1234);
  fnSendUDP(2, (192, 168, 0, 101) ,1234, (unsigned char*)"Hello World", 11, OWN_TASK);

}

The error I'm getting is that OWN_TASK is not defined, you wouldn't happen to have an example of sending a hello world from a new app?

cheers

Marco

18
µTasker general / Re: Creating a new Task
« on: February 10, 2009, 06:52:31 AM »
Hi Mark

Thanks for that, I think that solved the problem.  Can I ask you, if i wanted send a UDP message from this application saying hello world.  Is the following correct?

fnSendUDP(0, 192, 168, 0, 101, 1234, "Hello World ", 512 );

and would I have to include another file?

cheers

19
µTasker general / Re: Creating a new Task
« on: February 08, 2009, 03:13:31 PM »
Hi Mark

I have followed the "uTasker - First Steps for new users" manual, when trying to create a new application.  I have even reproduced it exactly as is on the manual but no luck. 

I get a whole veriaty of errors on compile if "*ptrTaskTable" is present in the new c-source file.  If I remove it, the program compiles, and gives me "Warning C1013: Old style Declaration" and the task does not run.

Does the c-source file need a specific name?  or do you reacon I am doing something else wrong?

cheers

Marco

20
FreescaleTM MC9S12NE64 / Re: TCP/IP Connecion to Winsock
« on: February 03, 2009, 04:55:56 PM »
Ok, I just now got UDP to do exactly that.  So it is posible, can anyone help me to make the transition to TCP?

Thanks

Marco

21
FreescaleTM MC9S12NE64 / TCP/IP Connecion to Winsock
« on: February 03, 2009, 04:20:58 PM »
Hi

I am a newby to uTasker, I was wondering if anyone had an example of how to connect to winsock in VB6, and send/recieve Data.  I know how to connect from one computer to another using winsock and send/recieve, but have not succeeded in doing so with uTasker.

Thanks

Marco

Pages: 1 [2]