9 More Discussions You Might Find Interesting
1. What is on Your Mind?
Having spent a lot of time over the past year taking a legacy vBulletin site (this forum) and making the site responsive on mobile; I've happy with the results; but it will soon be time to move on.
Basically, at our core, we are a LAMP (Linux, Apache2, MySQL and PHP) site, and vBulletin was... (6 Replies)
Discussion started by: Neo
6 Replies
2. Shell Programming and Scripting
I have a shell script main.ksh We are calling dbscript.ksh from main.ksh
I am using select statement in dbscript.ksh but there is a problem with the select statement in dbscript.ksh but still echo $? is showing as zero. I am using DB2 commands in dbscript.ksh
Main.ksh
dbscript.ksh
echo $? ... (13 Replies)
Discussion started by: vamsi.valiveti
13 Replies
3. 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
4. Shell Programming and Scripting
Hello,
sorry for my questions about that below script but i have an error that i don't understand.
It seems that my find command is not working fine but for me the command is ok
Thanks for your help
=====================================
/usr/IBM/HTTPServer/apache_cache... (4 Replies)
Discussion started by: steiner
4 Replies
5. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
6. Solaris
Hi there
I am in the process of writing a script to check whether a port on a remote system is up or not.
Here's what I have so far:
#!/bin/bash
telnet xx.xx.xx.xx 80 | (echo "^]")
if ]; then
echo "Please check Web services " | mailx -s "Please check webservices... (1 Reply)
Discussion started by: notreallyhere
1 Replies
7. Shell Programming and Scripting
I write a script which will stop an application, then restart it.
Sometimes it is succesful, sometimes not.
The problem is, when stop the application, some ports are still listenning (or not released). When start the application, it reports that ports are used, and can't continues.
I use... (1 Reply)
Discussion started by: rdcwayx
1 Replies
8. Solaris
Hi,
I need to run an application (Hudson) listening to port 8080 on a remote Solaris server. I have managed to start that application and tried to access it with my browser from my local PC, but unsuccessfully.
I need to find out what is blocking the access to that port (or any other). A... (9 Replies)
Discussion started by: JVerstry
9 Replies
9. AIX
How can i check which service is activated on my AIX Box?
how one can check particular port is open or not (like ftp/telnet port)?
I dont have admin rights (1 Reply)
Discussion started by: ashish4422
1 Replies
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)