Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

TCP/UDP connection in MIDP  RSS feed

 
Rex Lee
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can successfully make UDP connection by the following statements with Sun's wireless toolkit. However, I wonder if it can turn up to reality when I used an actual Java phone.
DatagramConnection dc = (DatagramConnection)com.sun.midp.io.InternalConnector.openInternal("datagram://###.###.###.###:####", Connector.READ_WRITE, false);
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!