03-02-2020
Quote:
Originally Posted by
bobochacha29
On this ethernet segment we have many servers, but only these two servers got error, so I don't think this's the point.
A slight delay in a packet on a busy Ethernet segment is not "an error". That is how Ethernet works.
What you are "showing us' (an occasional 44 ms delay) is typical of all busy Ethernet segments with many devices.
44 ms is 44 one thousandths of a second. 44/1000 seconds.
The way in which you answer my questions shows you do not understand LAN networking and Ethernet (or networking in general).
Delays on an Ethernet segment are not "errors" and nor is it a sign of "instability". This his how the Ethernet (and indeed most networking protocols work) protocols works (queues, delays, priorities).
If you want guaranteed fast delivery between two hosts, you need to move them to their own Ethernet segment with only two devices on that network.
This is the only approach any experienced network engineer would take or advise.
Think about how Ethernet works. Every device wants to talk at the same time on the same wire. They cannot talk at the same time. The more devices, the more this happens. Each device will wait a random number of milliseconds to transmit when the network is busy. This is now LANs work. The more devices, the more a chance of a delay. So..... a 44ms delay (44/1000 of a second) occasionally on a busy LAN segment is normal.
As I mentioned to you, but you do not seem to want to understand, you want guaranteed fast delivery between two hosts on a LAN segment, you need to
move them to their own Ethernet segment with only two devices on that physical networking segment.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Solaris Server (V880) version 8
Brand new box just installed O/S, what do I need to do in order to get FTP working.
I have updated the /etc/hosts.equiv file
Problem - When trying to ftp to the server I get a login incorrect message, this is with the root user.
Are there some... (1 Reply)
Discussion started by: miredale
1 Replies
2. UNIX for Dummies Questions & Answers
I have a network connection problem in unix. I am trying to access to LAN in unix but unfortunately it doesn't work. For example, if I ping from Unix to windows it says 'the network is unreacable'. Also, I can't ping in windows to unix.
I would be glad if someone could help me.
Thanks.
... (5 Replies)
Discussion started by: fatihshen
5 Replies
3. Cybersecurity
Hi - I have a SUSE Enterprise Linux Server V9 that I have an issue with. Policy says that root connectivity via ssh needs to be disabled. So, to do that, I made the following change in the sshd_config section:
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
PermitRootLogin no... (3 Replies)
Discussion started by: cpolikowsky
3 Replies
4. Solaris
Hi ,
when i try to passwordless connection login in ssh through putty, i am getting the "Server unexpectedly closed network connection" error.i have already finished the public and private key settings for the particular user.
thanks
MaroV (1 Reply)
Discussion started by: vr_mari
1 Replies
5. AIX
Dear ALL.
I installed AIX OS on customer sites.
but Only one site is too slow when I connected telnet, ftp..
Ping is too fast. but telnet and FTP is not connected..
of course i check the configuration file on aix but it's normal.
Do any Idea??
thanks in advance.
- Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies
6. Solaris
Hi everyone,
I am hoping anyone of you could help me in this weird problem we have in 1 of our Solaris 10 servers. Lately, we have been having some ftp problems in this server. Though it can ping any server within the network, it seems that it can only ftp to a select few. For most servers, the... (4 Replies)
Discussion started by: labdakos
4 Replies
7. AIX
Hi,
I have a task requested by my boss to create a script to enable a server to connect to a vpn network and then to connect to another server to upload some data...
How can I connect to a vpn network from AIX server? via telnet? ssh?
I have tried to google but mostly the answers are... (1 Reply)
Discussion started by: mushr00m
1 Replies
8. UNIX for Advanced & Expert Users
Solaris 10 Server refuse to connect :wall:
fork: Resource temporarily unavailable , server unexpectedly unavailable network connection , refuse error, disconnect message, fatal error type2, (protocol error type2)
Issue has been resolved after taken few steps :b:
First of all need to check... (1 Reply)
Discussion started by: taherahmed
1 Replies
9. Ubuntu
Hi
I hope someone can spot what is wrong with this ssh connection as it has me baffled.
I am trying to set up a remote ssh connection (passwordless) to a remote 'server', (Ubuntu laptop at home).
I have tried these steps with rsa and dsa key types, (currently dsa) -
1) ssh-keygen... (4 Replies)
Discussion started by: steadyonabix
4 Replies
10. AIX
HI ,
I'm facing the FTP connection refused from text editor while accessing AIX server .It showing the messege "can't create ftp connection connectin refused".Though it is accessible from putty .
i'm using aix version 6 .
Can any one let me know the seetings needs to be made so that i... (2 Replies)
Discussion started by: rmkganesh
2 Replies
LEARN ABOUT REDHAT
socket
socket(n) Tcl Built-In Commands socket(n)
__________________________________________________________________________________________________________________________________________________
NAME
socket - Open a TCP network connection
SYNOPSIS
socket ?options? host port
socket -server command ?options? port
_________________________________________________________________
DESCRIPTION
This command opens a network socket and returns a channel identifier that may be used in future invocations of commands like read, puts and
flush. At present only the TCP network protocol is supported; future releases may include support for additional protocols. The socket
command may be used to open either the client or server side of a connection, depending on whether the -server switch is specified.
CLIENT SOCKETS
If the -server option is not specified, then the client side of a connection is opened and the command returns a channel identifier that
can be used for both reading and writing. Port and host specify a port to connect to; there must be a server accepting connections on
this port. Port is an integer port number and host is either a domain-style name such as www.sunlabs.com or a numerical IP address such as
127.0.0.1. Use localhost to refer to the host on which the command is invoked.
The following options may also be present before host to specify additional information about the connection:
-myaddr addr
Addr gives the domain-style name or numerical IP address of the client-side network interface to use for the connection. This
option may be useful if the client machine has multiple network interfaces. If the option is omitted then the client-side interface
will be chosen by the system software.
-myport port
Port specifies an integer port number to use for the client's side of the connection. If this option is omitted, the client's port
number will be chosen at random by the system software.
-async The -async option will cause the client socket to be connected asynchronously. This means that the socket will be created immedi-
ately but may not yet be connected to the server, when the call to socket returns. When a gets or flush is done on the socket before
the connection attempt succeeds or fails, if the socket is in blocking mode, the operation will wait until the connection is com-
pleted or fails. If the socket is in nonblocking mode and a gets or flush is done on the socket before the connection attempt suc-
ceeds or fails, the operation returns immediately and fblocked on the socket returns 1.
SERVER SOCKETS
If the -server option is specified then the new socket will be a server for the port given by port. Tcl will automatically accept connec-
tions to the given port. For each connection Tcl will create a new channel that may be used to communicate with the client. Tcl then
invokes command with three additional arguments: the name of the new channel, the address, in network address notation, of the client's
host, and the client's port number.
The following additional option may also be specified before host:
-myaddr addr
Addr gives the domain-style name or numerical IP address of the server-side network interface to use for the connection. This
option may be useful if the server machine has multiple network interfaces. If the option is omitted then the server socket is
bound to the special address INADDR_ANY so that it can accept connections from any interface.
Server channels cannot be used for input or output; their sole use is to accept new client connections. The channels created for each
incoming client connection are opened for input and output. Closing the server channel shuts down the server so that no new connections
will be accepted; however, existing connections will be unaffected.
Server sockets depend on the Tcl event mechanism to find out when new connections are opened. If the application doesn't enter the event
loop, for example by invoking the vwait command or calling the C procedure Tcl_DoOneEvent, then no connections will be accepted.
CONFIGURATION OPTIONS
The fconfigure command can be used to query several readonly configuration options for socket channels: |
-error |
This option gets the current error status of the given socket. This is useful when you need to determine if an asynchronous connect |
operation succeeded. If there was an error, the error message is returned. If there was no error, an empty string is returned.
-sockname
This option returns a list of three elements, the address, the host name and the port number for the socket. If the host name cannot
be computed, the second element is identical to the address, the first element of the list.
-peername
This option is not supported by server sockets. For client and accepted sockets, this option returns a list of three elements; these
are the address, the host name and the port to which the peer socket is connected or bound. If the host name cannot be computed, the
second element of the list is identical to the address, its first element.
SEE ALSO
flush(n), open(n), read(n)
KEYWORDS
bind, channel, connection, domain name, host, network address, socket, tcp
Tcl 8.0 socket(n)