• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

SOCKET

 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
I found a question regarding socket, which I am finding it difficult to answer. The question is " How are connectionless sockets are different than connection-oriented sockets?"
1)Connectionless sockets can transmit to multiple receivers at the same time.
2)Connectionless sockets support only character streams.
3)Connectionless sockets are less efficient and slower
4)Connectionless sockets do not support two-way communication
5)Connectionless sockets do not gurantee delivery or order of receipt.
Please not that there is only one correct answer to this question out of five choices. Please help urgently.
Thanks in advance
Nilesh patel.
 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would say number 5.
Vladan
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I remember right, connectionless sockets are using UDP and connection-based sockets are using TCP/IP. TCP/IP guarantees that each data packet is received and UDP does not. TCP/IP is nice and sturdy that way, but it has more overhead than UDP.
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guaranteed delivery might cause problems in certain situation if it is delayed. The good example would be VoIP. TCP does not work well in which case.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic