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 4 of 4

Thread: combine tcp and udp

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default combine tcp and udp

    Can someone help me out with java code to combine tcp and udp?


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

    Default Re: combine tcp and udp

    Quote Originally Posted by veena View Post
    Can someone help me out with java code to combine tcp and udp?
    TCP and UDP are very different, both at conceptual level and at technical level (in Java you use well different classes to handle TCP and UDP communications).
    Thus, you should clarify what you are doing, why, for what type of application, etc...
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

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

  3. #3
    Junior Member
    Join Date
    Dec 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: combine tcp and udp

    to implement data transfers with higher level of security..

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

    Default Re: combine tcp and udp

    Quote Originally Posted by veena View Post
    to implement data transfers with higher level of security..
    Ok .... you should clarify what "security" means for you (there may be several interpretations).
    But in this context I guess you mean "confidentiality". That fact that in a communication between 2 systems on an (intrinsically) unsecure channel, no others can "see" the informations.
    Andrea, www.andbin.netSCJP 5 (91%) – SCWCD 5 (94%)

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

Similar Threads

  1. Sending and Receiving Via Tcp And Udp
    By amit1983 in forum Java Theory & Questions
    Replies: 4
    Last Post: December 9th, 2013, 03:56 PM
  2. Replies: 2
    Last Post: July 9th, 2013, 06:01 PM
  3. Try to Converting TCP to UDP
    By raniex in forum What's Wrong With My Code?
    Replies: 6
    Last Post: January 9th, 2013, 01:05 PM
  4. Handling TCP and UDP in same server
    By ToshX in forum Java Networking
    Replies: 2
    Last Post: December 2nd, 2011, 03:19 PM
  5. TCP Over UDP
    By azarakhsh in forum Java Networking
    Replies: 3
    Last Post: July 15th, 2009, 07:21 AM