UDP


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UDP
# 1  
Old 01-20-2010
UDP

What's the command/options for UDP SOCK (Socket)?
# 2  
Old 01-21-2010
Hello,

Quote:
What's the command/options for UDP SOCK (Socket)?
What Do you mean by "command/options" exactly?. Do you mean, how do you create an UDP socket? Do you mean, which options you can set on UDP socket?

For 1). Assume IPv4:
Code:
socket(AF_INET, SOCK_DGRAM, 0)

For 2) That's a longer story. Which one are you interested in?

HTH,
Loïc.
# 3  
Old 01-21-2010
yeah u're right I mean what command in unix shall I use and what options can set a UDP socket
# 4  
Old 01-22-2010
Quote:
yeah u're right I mean what command in unix shall I use and what options can set a UDP socket
You mean an unix command for UDP socket? There's a netcat for instance. Google for it, you shall find plenty of tutorials about nc options, and examples of use.
We could surely help you more specifically, if you'd tell us what problem(s) you are trying to solve.

Cheers,
Loïc.
# 5  
Old 01-22-2010
the problem is to send a meesage from machine1 to machine2 using UDP,
for TCP the command in unix is

SOCK -t -e Machine1:12345

so what are the command and the options for UDP?
# 6  
Old 01-22-2010
Quote:
the problem is to send a meesage from machine1 to machine2 using UDP,
for TCP the command in unix is

SOCK -t -e Machine1:12345

so what are the command and the options for UDP?
Looks like a "home brew" command. It doesn't look like a Unix standard tool, sorry. Check your local documentation.

Brgds,
Loïc.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Why Nmap UDP need Root?

I was just wondering, why does Nmap need root when doing an -sU UDP Scan? Please and Thank You. (3 Replies)
Discussion started by: amreason
3 Replies

2. Programming

how to do udp broadcast with multithreading

hello to all i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (6 Replies)
Discussion started by: moti12
6 Replies

3. IP Networking

how to do udp broadcast with multithreading

hello to all i want to use multithreading to my UDP broadcast server client program. will anyone help me by proving C code. i am working in fedora. also my requirement is POSIX compliance.please help me..... (0 Replies)
Discussion started by: moti12
0 Replies

4. Infrastructure Monitoring

UDP Port 161

hi guys My linux server have SNMP configure port by default is 161 (UDP) now my monitor team - who are using Nagios - say the server are not being monitor so check netstat -lnu and I see all is OK and snmp service is running fine what else should I check about this port 161? to see if it is... (0 Replies)
Discussion started by: karlochacon
0 Replies

5. Windows & DOS: Issues & Discussions

UDP/ tunnel

Hi, I know tcp port tunneling can be done using ssh/putty. how about udp? I have a scenario where a license server handsout licenses to machines in that network ONLY. I have a windows machine in a different subnet and even though the client software can see license server, while using the... (6 Replies)
Discussion started by: upengan78
6 Replies

6. Cybersecurity

blocking UDP packet

I want to deny a particular malicious UDP packet. I can readily identify this packet from the rest by looking at the data section, where data offset 2 is 0xaa, data is 0xbb, etc. Are there any tools or code samples that can do this? Basically, instead of seeing the packet in the following... (2 Replies)
Discussion started by: amoeba
2 Replies

7. UNIX for Advanced & Expert Users

UDP errors

Hi, I can see "udpInOverflows" errors when I execute 'netstat -s' on my Solaris box. The number of errors are small - about 40. e.g. $ netstat -s|grep udp UDP udpInDatagrams =1249190732 udpInErrors = 0 udpOutDatagrams =31663030 udpOutErrors = 0... (1 Reply)
Discussion started by: chaandana
1 Replies

8. UNIX for Dummies Questions & Answers

udp socket programming

Hi...Please can someone send me implementation chat application using UDP(socket programming in C). Please send me as soon as possible. Thanks in advance. (2 Replies)
Discussion started by: unsweety
2 Replies

9. IP Networking

UDP sockets

hi... i have made this client server prog with UDP sockets but im not getting the output. the client sends the message but the server just keeps on waiting. Im running the prog an a solaris 10 box... server: main() { int sd; struct sockaddr_in server; char buf; int rc,len; ... (2 Replies)
Discussion started by: strider
2 Replies

10. IP Networking

udp help?

hi all, newbie here, i'm working on mac os x and i'm trying to stream some info using udp from the terminal to another app that listens for osc messages on the same machine. but the man page on udp is pretty cryptic. my question is whether anyone has a recommendation for a good tutorial covering... (0 Replies)
Discussion started by: ohhmyhead
0 Replies
Login or Register to Ask a Question