ethernet UDP send data without request from PC

General discussion on mikroBasic.
Post Reply
Author
Message
glam
Posts: 35
Joined: 22 Jun 2009 06:04

ethernet UDP send data without request from PC

#1 Post by glam » 16 Feb 2015 01:40

Hi everybody,
Is there any possibility to send data from my ethernet card to pc without sending a request from pc. So that I can apply putbytes command anywhere in my program.
My problem was when I request array data from ethernet card, some data are not correct. I think it could be my ethernet card need more processing time and not synchronise with pc request. If I give more delay on PC, then I got correct data, but it wasting time where I got
huge data to transfer. Any way to synchronise between ethernet card and pc, so that when ethernet card finish processing data immidiately
can transfer to PC.
Any idea would very much appreciated.
Regards.
Glam.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: ethernet UDP send data without request from PC

#2 Post by filip » 20 Feb 2015 11:57

Hi,

For the UDP communication there is no nee for sending the request from the PC, you can use putbytes just by declaring the appropriate target.

Regards,
Filip.

Post Reply

Return to “mikroBasic General”