08-01-2012
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
anyone help me get a perl script or c++ that will let me talk to a nt4 box from my win98 server without having to be online ? (8 Replies)
Discussion started by: perleo
8 Replies
2. IP Networking
hi...
can anyone pls suggest a few methods to check whether a computer is connected to any network, using the terminal, not GUI.
thanks
eskay (1 Reply)
Discussion started by: eskay_karthik
1 Replies
3. Linux
Hi,
I have a software in one of the pcs connected in the network and I need to mount that file system in my PC. Both the pcs have Linux installed. Please let me know how can we achieve this.
Any pointers would be of great help.
Thanks & Regards,
Venkatesh. (3 Replies)
Discussion started by: venkatesh_sasi
3 Replies
4. UNIX for Dummies Questions & Answers
How to determine if a host is connected to the Internet in Unix ? (1 Reply)
Discussion started by: shuhang2
1 Replies
5. IP Networking
Hi
I have an Apache Web server running on a Solaris 8 box that sits on a SSN.
I have one desktop that connects to the SSN from the internal network and is recognised directly without using the gateway, all other desktops, laptops from inside the internal network connect to the SSN using the... (0 Replies)
Discussion started by: Bobby76
0 Replies
6. UNIX for Advanced & Expert Users
Hi,
I need to redirect internal internet requests to a auth client site siting on the gateway. Currently users that are authenticated to access the internet have there mac address listed in the FORWARD chain. All other users need to be redirected to a internal site for authentication.
Can... (1 Reply)
Discussion started by: mshindo
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all
I've been a Debian user since solidly since about 1997 so I'm fairly experienced Linux user as a whole but unfortunately the monoculture has hit be hard recently. I'm working off a Laptop a lot of the time which spends up to 2-4 weeks without an Internet connection. A few weeks ago it... (1 Reply)
Discussion started by: pointyhat
1 Replies
8. UNIX for Advanced & Expert Users
This is what I did.
$ ps -ef | grep -i networkroot 6657 1 0 12:55 ? 00:00:01 /usr/sbin/NetworkManager
bob 7251 7212 0 13:24 pts/3 00:00:00 grep --color=auto -i
$ sudo kill -9 6657
password for bob:
$ ping -c 5 google.com
PING google.com (74.125.229.160)... (1 Reply)
Discussion started by: cokedude
1 Replies
9. Shell Programming and Scripting
to get the checksum of a file on unix systems, you can just use the "cksum" command.
i discovered there are some watered down versions of unix systems i have to do some work on. surprisingly, these systems have perl installed on them and awk.
so if the cksum command is not available on a... (1 Reply)
Discussion started by: SkySmart
1 Replies
ICMP(4P) ICMP(4P)
NAME
icmp - Internet Control Message Protocol
SYNOPSIS
#include <sys/socket.h>
#include <netinet/in.h>
s = socket(AF_INET, SOCK_RAW, proto);
DESCRIPTION
ICMP is the error and control message protocol used by IP and the Internet protocol family. It may be accessed through a "raw socket" for
network monitoring and diagnostic functions. The proto parameter to the socket call to create an ICMP socket is obtained from getprotoby-
name(3N). ICMP sockets are connectionless, and are normally used with the sendto and recvfrom calls, though the connect(2) call may also
be used to fix the destination for future packets (in which case the read(2) or recv(2) and write(2) or send(2) system calls may be used).
Outgoing packets automatically have an IP header prepended to them (based on the destination address). Incoming packets are received with
the IP header and options intact.
DIAGNOSTICS
A socket operation may fail with one of the following errors returned:
[EISCONN] when trying to establish a connection on a socket which already has one, or when trying to send a datagram with the destina-
tion address specified and the socket is already connected;
[ENOTCONN] when trying to send a datagram, but no destination address is specified, and the socket hasn't been connected;
[ENOBUFS] when the system runs out of memory for an internal data structure;
[EADDRNOTAVAIL]
when an attempt is made to create a socket with a network address for which no network interface exists.
SEE ALSO
send(2), recv(2), intro(4N), inet(4F), ip(4P)
4.3 Berkeley Distribution May 16, 1986 ICMP(4P)