Hi all, is it possible to use a different port number for daytime service. By default the port number of daytime service is 13, so what if I want to get the time from a different port number e.g say 9000 (or any other port).
I guess this would remain the same on the server side !
So, to specify the port does the user defined port number should be the INADDR_ANY ?
has anyone worked on this before.
Thanks.
Following code is detecting solaris daytime,when I run it,I can't get any result,code is follows:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFSIZE 150
int main(){
... (2 Replies)
Hi Guys.
My Name is Luca. This is a first time that write on these fantastic forum.
I hope that someone could help me.
I'm working on redhat As 4.0. I'm using the daytime service.
I have enable the daytime service and it seems work.
From my pc I do:
C:\>ftp
ftp> open 10.99.99.4 13... (1 Reply)
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)
I got the service status through nc on remote network but 2 services doesn't have port number.how to get the other 2 services status with out port number .pls provide the solution to me.
I need to develop with is in a script (2 Replies)
I got the service status through nc on remote network but 2 services doesn't have port number.how to get the other 2 services status with out port number .pls provide the solution to me. (1 Reply)
I have an AIX 7.1 LPAR where Nagios agent was installed for monitoring. The issue is that when I start the nagios service (ncpa_listener), it starts but does not open the 5693 port it requires for communication. On all other LPARs the service opens the port and is listening. I tried reinstalling... (4 Replies)
Discussion started by: wibhore
4 Replies
LEARN ABOUT DEBIAN
umad_release_port
UMAD_GET_PORT(3) OpenIB Programmer's Manual UMAD_GET_PORT(3)NAME
umad_get_port, umad_release_port - open and close an InfiniBand port
SYNOPSIS
#include <infiniband/umad.h>
int umad_get_port(char *ca_name, int portnum, umad_port_t *port);
int umad_release_port(umad_port_t *port);
DESCRIPTION
umad_get_port() fills the port structure with the IB port attributes specified by ca_name and portnum , or the default port if ca_name is
NULL and portnum is zero. If only one of ca_name and portnum are specified, the other is used as a filter. For example, passing a NULL
ca_name and 2 for the portnum means get a port from any of the local IB devices, as long as it is the second port. Note that the library
may use some reference scheme to support port caching therefore umad_release_port() should be called before the port structure can be deal-
located. The argument port is an umad_port_t struct, as specified in <infiniband/umad.h>.
typedef struct umad_port {
char ca_name[UMAD_CA_NAME_LEN]; /* Name of the device */
int portnum; /* Physical port number */
uint base_lid; /* Base port LID */
uint lmc; /* LMC of LID */
uint sm_lid; /* SM LID */
uint sm_sl; /* SM service level */
uint state; /* Logical port state */
uint phys_state; /* Physical port state */
uint rate; /* Port link bit rate */
uint64_t capmask; /* Port capabilities */
uint64_t gid_prefix; /* Gid prefix of this port */
uint64_t port_guid; /* GUID of this port */
} umad_port_t;
umad_release_port() releases the resources that were allocated by the umad_get_port() function for the specified IB port.
RETURN VALUE
umad_get_port() and umad_release_port() return 0 on success, and a negative value on error.
AUTHORS
Hal Rosenstock <halr@voltaire.com>
Dotan Barak <dotanb@mellanox.co.il>
OpenIB May 21, 2007 UMAD_GET_PORT(3)