Results 1 to 2 of 2

Thread: What is the meaning of "-c" in an UDP endpoint?

  1. #1
    rc_hz is offline Registered User
    Name: Eric RC
    Organization: www.genband.com
    Project: No project yet
    Join Date
    Jul 2004
    Location
    Hangzhou, China
    Posts
    189

    What is the meaning of "-c" in an UDP endpoint?

    According the the Ice manual, "-c" in an UDP endpoint(udp -h host -p port -c -z) means: Causes the server to connect to the socket of the first peer that sends a datagram to this endpoint. So in this case, the server can only serve one client, right ? When will this feature be useful ?

    Thanks!
    Eric RC
    www.genband.com (telecommunication)
    I like ICE (Ice for C++/Java/Python)

  2. #2
    marc's Avatar
    marc is offline ZeroC Staff
    Name: Marc Laukien
    Organization: ZeroC, Inc.
    Project: The Internet Communications Engine
    Join Date
    Feb 2003
    Location
    Florida
    Posts
    1,860
    That's a good question I used to use connected UDP sockets for firewall traversal. The predecessor of Glacier2 made use of this feature for UDP callbacks. However, it has not been used since then (at least not by anyone here at ZeroC).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 4
    Last Post: 01-31-2011, 07:32 PM
  2. Replies: 1
    Last Post: 06-09-2009, 10:53 PM
  3. Replies: 1
    Last Post: 01-28-2009, 06:15 AM
  4. Replies: 4
    Last Post: 10-26-2006, 11:23 AM
  5. Replies: 1
    Last Post: 04-05-2004, 08:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •