09-15-2009
9 More Discussions You Might Find Interesting
1. Programming
Hello,
I am having trouble clearing the serial port buffer using the iclear and iflush commands. The code runs without errors being returned, but when I check the buffer again there is still data.
The only way I have so far is to read until there is nothing left in the buffer. Shouldn't one... (1 Reply)
Discussion started by: sammy-e
1 Replies
2. Solaris
hi i have a sun machine which has one hba 2ports;
out of which one port says it is not connected
# luxadm -e port
/devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl CONNECTED
/devices/pci@1d,700000/SUNW,qlc@1,1/fp@0,0:devctl NOT CONNECTED
but both... (9 Replies)
Discussion started by: anwesh
9 Replies
3. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
4. IP Networking
Hi,
I am trying to set up a dev environment and I have Ubuntu server (10.16.1.92) and a CentOS VM (10.16.3.235) on this. On the CentOS I have a program running on port 5433. Now my problem is that I am unable to telnet this port from another Windows server whereas I can telnet port 22 from... (5 Replies)
Discussion started by: rishav
5 Replies
5. Solaris
:)Hi Solaris Experts,
I am wondering whether it is possible to clear a network socket port 17005 left by Apache Tomcat/6.0.20 after having to terminate it forcefully, since it has run away due to remote JDBC resource contention on another server. A normal Tomcat stop / shutdown proves... (2 Replies)
Discussion started by: gjackson123
2 Replies
6. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
7. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
8. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
9. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
LEARN ABOUT ULTRIX
rpc_name_to_sockaddr
rpc_name_to_sockaddr(3ncs) rpc_name_to_sockaddr(3ncs)
Name
rpc_name_to_sockaddr - convert a host name and port number to a socket address (client or server)
Syntax
#include <idl/c/rpc.h>
void rpc_$name_to_sockaddr(name, nlength, port, family, sockaddr, slength, status)
unsigned char name;
unsigned long nlength;
unsigned long port;
unsigned long family;
socket_$addr_t *sockaddr;
unsigned long *slength;
status_$t *status;
Arguments
name A string that contains a host name and, optionally, a port and an address family. The format is family:host[port],
where family: and [port] are optional. If you specify a family as part of the name parameter, you must specify
socket_$unspec in the family parameter. The family part of the name parameter is ip; host is the host name; port is an
integer port number.
nlength The number of characters in name.
port The socket port number. This parameter should have the value rpc_$unbound_port if you are not specifying a well-known
port; in this case, the returned socket address will specify the Local Location Broker (LLB) forwarding port at host.
If you specify the port number in the name parameter, this parameter is ignored.
family The address family to use for the socket address. This value corresponds to the communications protocol used to access
the socket and determines how the sockaddr is expressed. If you specify the address family in the name parameter, this
parameter must have the value socket_$unspec.
sockaddr The socket address corresponding to name, port, and family.
slength The length, in bytes, of sockaddr.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it
was successful.
Description
The routine provides the socket address for a socket, given the host name, the port number, and the address family.
You can specify the socket address information either as one text string in the name parameter or by passing each of the three elements as
separate parameters( name, port, and family ); in the latter case, the name parameter should contain only the hostname.
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$not_in_call An internal error.
rpc_$proto_error An internal protocol error. This routine has been superseded by the routine.
Files
See Also
intro(3ncs), rpc_sockaddr_to_name(3ncs), socket_from_name(3ncs)
rpc_name_to_sockaddr(3ncs)