About 241,000 results
Open links in new tab
  1. howto: setup a bidirectional UDP connection for a message …

    Sep 10, 2015 · To achieve reliable packet-oriented bi-directional communication, you can either A) add reliability to UDP, or B) add a packet layer to TCP. I've always chosen B, since it's much much easier. –

  2. sockets - Bidirectional UDP tunnel - Stack Overflow

    Feb 6, 2020 · Is it possible to create a UDP tunnel which routes the traffic of process A from localhost to HOST. Certainly, you can write (or find) a program that receives UDP packets from one location and sends a copy of them to a second location (and vice versa).

  3. Maintaining a bidirectional UDP connection - Stack Overflow

    Apr 4, 2013 · I'm writing an Android UDP client that connects to and communicates bidirectionally (with no relationship between sent and received messages) with a Windows server. Once the initial Datagram has been sent to the server I want to …

  4. UDP Server-Client implementation in C++ - GeeksforGeeks

    Feb 23, 2023 · UDP Client : Create a UDP socket. Send a message to the server. Wait until a response from the server is received. Process the reply and go back to step 2, if necessary. Close socket descriptor and exit. Necessary Functions : int socket(int domain, int type, int protocol) Creates an unbound socket in the specified domain.

  5. UDP Client Server using connect | C implementation

    Apr 17, 2018 · This article describes a Client and Server setup where a Client connects, sends a string to server and the server shows the original string and sends reversed string to client using socket connection. Prerequisite : Socket Programming Examples: Input : welcome Output :emoclew Input :geeks for geeks

  6. TCP UDP Bidirectional Sockets for Unix based System - GitHub

    This receives numbers from client.c subdivides the number into 3 equal parts and forwards them to UDP server. Later this AWS server receives the result from UDP server, combines the result and send it back to the client.

  7. Synapse bidirectional UDP - Free Pascal

    Aug 10, 2017 · Simply create a UDP socket and bind it to the desired local IP/port, then send out the start message and enter a reading loop using the same UDP socket. Each successful read will tell you which peer the data came from. You don't have to use a non-blocking socket, either.

  8. UDP string reverse server · GitHub

    Aug 26, 2015 · sfd = socket(AF_INET, SOCK_DGRAM,IPPROTO_UDP); if (sfd == ERROR) {perror("Could not open a socket"); return 1;} memset((char *) &servaddr, 0, sizeof(servaddr)); servaddr.sin_family=AF_INET; servaddr.sin_addr.s_addr=inet_addr(IP_STR); servaddr.sin_port=htons(S_PORT); memset((char *) &clientaddr, 0, sizeof(clientaddr)); clientaddr.sin_family=AF_INET;

  9. Working with UDP DatagramSockets in Java - GeeksforGeeks

    Jan 4, 2022 · Java provides DatagramSocket to communicate over UDP instead of TCP. It is also built on top of IP. DatagramSockets can be used to both send and receive packets over the Internet. One of the examples where UDP is preferred over …

  10. UDP Socket Programming | eXpServer

    To receive a UDP packet from a remote destination, the recvfrom() system call is used. Since there is no dedicated connection being setup, an application that uses sendto() must explicitly specify the target IP address and target Port number …

  11. Some results have been removed