![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to program a telnet client? | thinker130 | High Level Programming | 8 | 05-09-2008 12:38 AM |
| Server client program | pip3r | High Level Programming | 9 | 04-17-2008 01:15 AM |
| Client - server program | mathu | High Level Programming | 4 | 09-17-2006 12:56 PM |
| Chat client-server program | powermind | High Level Programming | 1 | 09-04-2006 11:19 AM |
| Receiving status code 39 when accessing files through program. | bigdawg | Filesystems, Disks and Memory | 6 | 08-29-2003 12:37 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
i want a UDP Client receiving program
Hi
I want a UDP client receiving program. Here is the scenario. The client has to listen to the UDP server and has to acknowledge back on receiving data from the server. Can anyone help me out. regards, Nirmala |
|
||||
|
Quote:
UDP was never meant to acknowledge data receipt - so the ack meachnism isn't built in the protocol. If you'e building the ack mechanism on top of UDP, you need to realize that 1. Do you want to send an ack for every packet received? This is quite a big overhead. 2. What if the ack packet is lost? Would you implement a timeout mechanism at the sending end to retransmit the packet if an ack is not received before the timeout? 3. If it is a two-way communication, would you want to implement piggybacking where the ack would be sent alongwith data? You'd realize that as you address these problems, you're approaching TCP itself ![]() Hope that helps. Kapil Sharma |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|