Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: java networking in wireless sensor network

  1. #1
    Junior Member
    Join Date
    Mar 2014
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default java networking in wireless sensor network

    i am coding on java networking in wsn, here i need to send a file from one system to another system using wireless connection between two systems so,can anybody suggest me on how to code to send file through wifi to some other system connected.


  2. #2
    Member andbin's Avatar
    Join Date
    Dec 2013
    Location
    Italy
    Posts
    443
    Thanks
    4
    Thanked 122 Times in 114 Posts

    Default Re: java networking in wireless sensor network

    Quote Originally Posted by shreyas.s View Post
    i need to send a file from one system to another system using wireless connection between two systems
    First, at programming level there is no difference between a cabled network and a wireless network. In other words, there isn't a code for cabled communication and a code for wireless communication.

    Quote Originally Posted by shreyas.s View Post
    can anybody suggest me on how to code to send file through wifi to some other system connected.
    You have to decide and establish what type of protocol to use. At programming level, the lowest level is represented by "sockets" (either UDP sockets or TCP sockets). All other "applicative" protocols are on the top of (typically) TCP sockets.

    If you have no/few knowledge about these concepts, please read some guide/tutorial before.
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

    Useful links for Java beginnersMy new project Java Examples on Google Code

  3. The Following User Says Thank You to andbin For This Useful Post:

    shreyas.s (March 19th, 2014)

  4. #3
    Super Moderator
    Join Date
    Jun 2013
    Location
    So. Maryland, USA
    Posts
    5,517
    My Mood
    Mellow
    Thanks
    215
    Thanked 698 Times in 680 Posts

    Default Re: java networking in wireless sensor network

    Welcome to the forum! Please read this topic to learn how to post code correctly and other useful info for new members.

Similar Threads

  1. Java and networking
    By Msyhles in forum What's Wrong With My Code?
    Replies: 2
    Last Post: October 24th, 2013, 03:32 AM
  2. Wireless sensor node in java
    By jeniferrubys in forum What's Wrong With My Code?
    Replies: 1
    Last Post: May 28th, 2013, 02:28 AM
  3. Networking Java
    By aneel in forum JDBC and Database Tutorials
    Replies: 1
    Last Post: December 13th, 2011, 03:28 AM
  4. A screen touch sensor
    By Someonation in forum Android Development
    Replies: 1
    Last Post: November 7th, 2011, 06:10 AM
  5. networking in java
    By sridhar in forum Member Introductions
    Replies: 1
    Last Post: October 4th, 2010, 11:11 AM