View Single Post
  #11   Spotlight this post!  
Unread 24-09-2012, 21:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,561
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: UDP Recieving Problems

Quote:
Originally Posted by NotInControl View Post
Are you sure the parameter to connector.open is correct? I believe you should be using a "datagram" protocol instead of a "data" protocol.

For example
A datagram connection for accepting datagrams on port 1234
"datagram://:1234"

A datagram connection for sending to a server on port 1234:
"datagram://123.456.789.12:1234"
Were you able to use the datagram protocol on the cRIO? I get the following exception: "javax.microedition.io.ConnectionNotFoundException : The 'datagram' protocol does not exist". The following thread says that datagram wasn't supported as of 2011: http://www.chiefdelphi.com/forums/sh...61&postcount=5
Reply With Quote