05-15-2005
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
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm working on a project to extract some information from archive file. I ran my program through MFCobol animator and I'm receiving
a status code of 39(file not compatible) when opening the file for input. I have tried just about everything, rebuild, convert, etc. but
I receive the same message.... (6 Replies)
Discussion started by: bigdawg
6 Replies
2. Programming
i came acors this coding when surfin the net.this code works perfectly.but as i am new to this socket programming i need sm coments quoted on it or explanation regarding this source code.
i have prb understanding the server.c i have posted it below
can u guys help me !!!!
cheerZ
The... (4 Replies)
Discussion started by: mathu
4 Replies
3. Programming
Hi,
Am very new to socket programming.
When we use UDP sockets to communicate between two processess,
will both the client/server socket be able to send/recv ?
meaning can sendto()/ recvfrom() be used on both server and client?
It could be useful even if anybody provide some link on socket... (1 Reply)
Discussion started by: rvan
1 Replies
4. Programming
hi guys,
I need the code for a server client registration form.The server must ask for authentication .Then the client would send in data. This is stored in a file .The server sends back a receipt to the client as part of the payment done.
plz can some 1 get me the code... (9 Replies)
Discussion started by: pip3r
9 Replies
5. Programming
can u help me? i need the program code in C to perform Simple File Transfer in linux.in this forum i found the server program,inw i need the client program ASAP.
Thanx. (1 Reply)
Discussion started by: harshi
1 Replies
6. Programming
hi,
I am writing one packet receiving program using libpcap library.
Now, I want to check port is already using or not.
how to check in receiver program..
If normal program, bind return value we can able to check the port using or not.
but, in pcap program how can i check?
thank... (1 Reply)
Discussion started by: ram.sj
1 Replies
7. IP Networking
I'm looking for a couple high level pointers to writing a UDP server that will be acknowledging data at a rate of approximately twelve packets every second and will be running on and older but more or less dedicated Solaris 9 box.
Acknowledging the data packets is relatively simple, after... (2 Replies)
Discussion started by: allbread
2 Replies
8. Programming
Hi,
I have a situation where i need to communicate a linux client with a windows server, I am using a UDP socket communication channel. I am able to send packets from my linux clients to the windows server but unable to receive any data packet from the server. Do i need to make any setting in... (0 Replies)
Discussion started by: John20
0 Replies
9. Programming
I try to initial a UDP client from threading, but it doesn't work? why?
These codes from the textbook
#define ECHOMAX 255 /* Longest string to echo */
#define TIMEOUT_SECS 2 /* Seconds between retransmits */
#define MAXTRIES 5 /* Tries before giving up */... (3 Replies)
Discussion started by: sehang
3 Replies
10. Programming
I am having problems receiving data from a remote server. It seems that I can send an HTTP request to any host such as http://www.google.com, but I can't get a reply.
I'm sending the host a HTTP 1.0 request that is formatted as such:
GET / HTTP/1.0
Host: http://www.google.com
Connection:... (0 Replies)
Discussion started by: shubham92
0 Replies
LEARN ABOUT DEBIAN
curvetun
curvetun(8) netsniff-ng-toolkit curvetun(8)
NAME
curvetun - lightweight curve25519-based multiuser IP tunnel
SYNOPSIS
curvetun [-d|--dev <tun>][-x|--export][-C|--dumpc][-S|--dumps] [-k|--keygen][-c|--client [<alias>]][-s|--server][-N|--no-logging]
[-p|--port <num>][-t|--stun <server>][-4|--ipv4][-6|--ipv6] [-v|--version][-h|--help]
DESCRIPTION
curvetun embeds a client and a server to build and manage multiuser IP tunnels using Elliptic Curve Cryptography (ECC)
EXAMPLES
curvetun --keygen
Generate public/private keypair. This needs to be done before to get things started.
curvetun --export
Export public data to remote servers
curvetun --server -4 -u -N --port 6666 --stun stunserver.org
Start a UDP IPv4 curvetun server on port 6666. Use stunserver.org as STUN server.
curvetun --client=ethz
Start curvetun client using the profile called 'ethz'
OPTIONS
-k|--keygen
Generate public/private keypair.
-x|--export
Export your public data for remote servers.
-C|--dumpc
Dump parsed clients.
-S|--dumps
Dump parsed servers.
-D|--nofork
Do not daemonize.
-d|--dev <tun>
Networking tunnel device, e.g. tun0.
-c|--client [<alias>]
Client mode, server alias optional.
-s|--server
Server mode.
-N|--no-logging
Disable server logging (for better anonymity).
-p|--port <num>
Port number (mandatory).
-t|--stun <server>
Show public IP/Port mapping via STUN.
-u|--udp
Use UDP as carrier instead of TCP.
-4|--ipv4
Tunnel devices are IPv4.
-6|--ipv6
Tunnel devices are IPv6.
-v|--version
Print version.
-h|--help
Print help text and lists all options.
AUTHOR
Written by Daniel Borkmann <daniel@netsniff-ng.org> and Emmanuel Roullit <emmanuel@netsniff-ng.org>
DOCUMENTATION
Documentation by Emmanuel Roullit <emmanuel@netsniff-ng.org>
BUGS
Please report bugs to <bugs@netsniff-ng.org>
2012-06-29 curvetun(8)