I am interested in booting up my unix computer by connecting an external SCSI drive( intergraph) to it. The unix box is also an intergraph computer. Whenever I boot it, it gives me an error that says Drive not ready, Insert Boot Diskette in A. What am I doing wrong?
Any input would be... (3 Replies)
Hie everyone,
I am currently facing a problem whereby I can not connect to an external network from a package ip address on a HP-UX cluster. Below is the illustration:
Primary Server IP Address : n.n.n.202
Secondary Server IP Address : n.n.n.212
Package IP Address : n.n.n.211
... (1 Reply)
Hello, this is my first post on the Unix forums. This is something that's been bothering me for a while, is there any particular UNIX/Linux application that will allow you to see you external IP address? :confused: ( The address beyond your router )
Thank you in advance, I could not find a... (4 Replies)
Hi all,
One of my computers (an iMac) was recently stolen, but I have been able to connect to it over the internet through Apple's 'back to my mac' feature. In order for the police to find these people they need to know the IP address of the stolen computer.
I suspect that I will have find the... (6 Replies)
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Hi,
We have generated Some BO reports and These BO reports Needs to be stored in PDF File format in unix server.
Will Unix Support to store PDF Files ?
Many Thanks
Sashu (1 Reply)
Hi, How can I use "mailx" command to send message to an email address like this?
echo "This email body" | mailx -s "my subject" "email@hostname.com"
There may be some setup required in sendmail or postfix??
OS = Snow Leopard 10.6 (4 Replies)
Hi,
I am trying to find the external IP address of a server "XXX".
I logged into server "XXX" and executed nslookup XXX. output number is 123.23.23.45
Later, i have executed "curl http://whatismyip.org". This time i got a different number 611.34.63.22
Out of these two numbers, what number... (1 Reply)
when i execute from local machine
ping domainname i get the external ip address but i am on local dns and i expect the local ip address..
using nslookup : no problem
so i cannot find why...
thanks (2 Replies)
Text in input file is like this
<title>
<band height="21" isSplitAllowed="true" >
<staticText>
<reportElement
x="1"
y="1"
width="313"
height="20"
key="staticText-1"/>
<box></box>
<textElement>
<font fontName="Arial" pdfFontName="Helvetica-Bold"... (4 Replies)
Discussion started by: aankita30
4 Replies
LEARN ABOUT MOJAVE
curlinfo_local_port
CURLINFO_LOCAL_PORT(3) curl_easy_getinfo options CURLINFO_LOCAL_PORT(3)NAME
CURLINFO_LOCAL_PORT - get the latest local port number
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_LOCAL_PORT, long *portp);
DESCRIPTION
Pass a pointer to a long to receive the local port number of the most recent connection done with this curl handle.
PROTOCOLS
All
EXAMPLE
{
CURL *curl;
CURLcode res;
curl = curl_easy_init();
if(curl) {
curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
res = curl_easy_perform(curl);
if(CURLE_OK == res) {
long port;
res = curl_easy_getinfo(curl, CURLINFO_LOCAL_PORT, &port);
if(CURLE_OK == res) {
printf("We used local port: %ld
", port);
}
}
curl_easy_cleanup(curl);
}
return 0;
}
AVAILABILITY
Added in 7.21.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO curl_easy_getinfo(3), curl_easy_setopt(3), CURLINFO_PRIMARY_PORT(3), CURLINFO_LOCAL_IP(3),
libcurl 7.54.0 March 16, 2017 CURLINFO_LOCAL_PORT(3)