07-09-2010
Hi Corona688,
How can I ping the host in C++ application?
Thanks in advance for your response.
10 More Discussions You Might Find Interesting
1. Solaris
Hi all
This is my first post in this forums. I hope some one can help me with this
my Sun Ultra 60 worked fine couple of months back when i used a dell (1280x1024). i move to a MN last month n bought a new sony monitor with (1280x1024) but when i connect it to the box it monitor displays... (1 Reply)
Discussion started by: venuavula
1 Replies
2. Programming
Hello everyone. Thanks for reading. I am using Ubuntu 7.04 to experience this problem:
I have written my own programs that communicate to eachother and I am having a hard time detecting a TCP socket disconnect when the remote side's computer has a power-failure (for example).
On the computer... (6 Replies)
Discussion started by: pjwhite
6 Replies
3. Red Hat
hi..
I unplug my eth0 lan cable.. and suddenly my system shutdown... no idea :eek::confused: (3 Replies)
Discussion started by: flekzout
3 Replies
4. IP Networking
Hi, I am trying to implement a server-client socket communication. My server and clients are in different PCs. During communications if the ethernet cable is removed from the server side it shows broken pipe due to unable to write on the socket. I want to know how to check whether the ethernet... (0 Replies)
Discussion started by: JagadishB
0 Replies
5. IP Networking
Hi,
I'm trying to communicate two servers (HP DLProliant 380 G5) via a crossover cable, but I don't get them to ping each other.
I am working in RHEL 4.
These are the steps I've performed:
1) Plugged the crossover cables in eth2.
(note: The cable is brand new. Also I built one myself... (3 Replies)
Discussion started by: jrodriguez365
3 Replies
6. UNIX for Dummies Questions & Answers
how to change ethernet cable of iscsi initiator (iscsi client) (0 Replies)
Discussion started by: pankajd
0 Replies
7. AIX
Hello,
Is there any API or any other approach to detect whether the network cable is connected to the network adapter, say, en0, en1 or en2?
The OS is AIX6.1.
Thank you. (4 Replies)
Discussion started by: zephyrbj
4 Replies
8. Programming
Hello!
I searched forum for similar topic, with no luck, if you know one, delete this topic, and send me private message with link please.
Little background:
I have a lot of clients and one serwer. Client can make multiple connections on different ports and ips, but only one can be acctive... (2 Replies)
Discussion started by: ikeban
2 Replies
9. IP Networking
Hello,
Our software is using a TCP socket (AF_INET, SOCK_STREAM) to communicate with an Ethernet device. When we send a message, the message object writes itself in full onto the socket's stream buffer before the software invokes send() from socket.h.
I'm still researching, but have 2... (1 Reply)
Discussion started by: bix_20002000
1 Replies
10. IP Networking
Hello,
I detect these errors in my logs :
Socket timeout calling url http://server:port/bla/soap/selfcare/infoRapide]
Unable to make proxyRequest
I've made a tcpdump capture this way :
tcpdump -i eth0 -s 0 -w /app/captura.pcap port 8080
But I'm fairly new in reading .pcap files with... (0 Replies)
Discussion started by: black_fender
0 Replies
LEARN ABOUT DEBIAN
setether
SETETHER(8) System Manager's Manual SETETHER(8)
NAME
setether - Set the ethernet address for use with DECnet
SYNOPSIS
setether <if> [<if>...]|all [options]
DESCRIPTION
Set ethernet MAC address on ethernet adaptors
This script should be run at system startup. It will change the ethernet hardware (MAC) address of any or all ethernet interfaces to match
the DECnet node address. DECnet requires that the MAC address of all ethernet adaptors running the protocol be set approriately. If you do
not run setether then you must change the ethernet address in some other way for DECnet to work.
By default no ethernet interfaces will have their MAC addresses changed by setether, if you specify all then all interfaces name eth* will
be changed, otherwise a list of interface names can be specified. setether will enable (UP) all interfaces it changes the MAC addresses
of.
(2.4 only) The first interface specified on the command-line will also be made the default interface for DECnet operations (ie attempts to
contact nodes not in the neighbour table will be done over this interface).
This script must be run with the interface inactive, it is normally run from /etc/init.d/decnet before TCP/IP starts up.
EXAMPLES
set the MAC address of eth0.
# /sbin/setether eth0
set the MAC address of all ethernet interfaces
# /sbin/setether all
HELPFUL HINTS
If you have multiple ethernet cards on your system and they are connected to the the same network you should specify which one you want to
use for DECnet communication on the setether command line, otherwise they will both be given the same MAC address and this is probably not
what you want.
Running DECnet on multiple ethernet interfaces only works under Linux 2.4. If you are running Linux 2.2 then the interface name on the
setether command line must match the one in /etc/decnet.conf(5).
SEE ALSO
decnet.conf(5), dntype(1), dndir(1), dndel(1), dnetd(8), dnping(1)
DECnet utilities March 01 2001 SETETHER(8)