CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

simple mode to send UDP packet ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ik1wvq



Joined: 21 Feb 2004
Posts: 20

View user's profile Send private message

simple mode to send UDP packet ?
PostPosted: Wed Sep 16, 2009 10:19 am     Reply with quote

hi,
i need to send UDP packets to a single TCP/IP address in a local network.
ONLY SEND, ONLY UDP, ONLY single address, ONLY local network.

do you know a SIMPLE code to obtain this, using the PIC with controller ethernet inside ? (PIC18 "J" series ?)

i cant use the "serial-ethernet" modules, like tibbo or lantronics ....

thanks in advance

Mauro
bkamen



Joined: 07 Jan 2004
Posts: 1611
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Wed Sep 16, 2009 10:56 pm     Reply with quote

have you looked at the CCS code yet? You'll need to set up the ethernet module one way or another...

Once you learn the TCP/IP code, doing UDP is pretty easy....

-ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: simple mode to send UDP packet ?
PostPosted: Sat Sep 19, 2009 2:19 am     Reply with quote

ik1wvq wrote:
hi,
i need to send UDP packets to a single TCP/IP address in a local network.
ONLY SEND, ONLY UDP, ONLY single address, ONLY local network.

do you know a SIMPLE code to obtain this, using the PIC with controller ethernet inside ? (PIC18 "J" series ?)

Mauro


If you use a light weight PIC18F family member then RFC1149 outlines the simplest method. http://www.faqs.org/rfcs/rfc1149.html
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group