Sponsored Content
Special Forums IP Networking Changing Ip Address On Hp 700 Server Using Unix. Post 11174 by SAVDBYHIM on Thursday 29th of November 2001 09:44:42 PM
Old 11-29-2001
Java Changing Ip Address On Hp 700 Server Using Unix.

How do you change the ip address on a server using Unix?Smilie
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Changing IP address

Hi, I am going to shift my Unix workstation to another lab. So I need to change the IP address. Please tell me how to change the Network IP address, what is the commands, what to take care? Thank you very much and have a very nice day. (4 Replies)
Discussion started by: champion
4 Replies

2. AIX

Changing the IP Address

I need to change the IP address on one of your Unix machines - P630, AIX5.2. I plan on using SMIT to perform this function. These are the steps that I have put together so far: 1. Select Communications Applications & Services - Select TCP/IP - Select Minimun Configuration & Startup... (2 Replies)
Discussion started by: jyoung
2 Replies

3. IP Networking

Changing the ip address

Help me save my Unix box. I've had this Unix box (Enterprise 450) for about 7 years now. It was being used as a file server for a Macintosh Prepress department. All of our networking was done through Helios Etharshare. I am still currently up and online (however the location has changed). Our ip... (1 Reply)
Discussion started by: ubed
1 Replies

4. HP-UX

Sending msg From Unix Server to an E-mail Address

Dear Brothers in Unix I would like to change some HP-UX settings in order that the system send a message to root it should be copied to my e-mail address in Microsoft Exchange Server. Please can you help me. Best Regards and thanks in advance Gege (2 Replies)
Discussion started by: cgege
2 Replies

5. Shell Programming and Scripting

Getting the IP address in unix server

Hi, I want to know the IP of my Unix server in my script programming. Below are the my trial and i didn't find anything useful for me.because i want only IP. hostname -> Giving the name of the server and hostanme -i -> Giving the error message that..i am not super user. ipConfig ->... (7 Replies)
Discussion started by: Balamani
7 Replies

6. AIX

changing ip address

Hi, I am using aix 5300-07, I am facing strange issue in aix. I have changed the ip address and gateway of aix server , it is showing the right ip address but it is taking old gateway ip address. I have used netstat -r command and found it is showing 2 Default gateway. I want to... (2 Replies)
Discussion started by: manoj.solaris
2 Replies

7. IP Networking

Changing IP address on NCR UNIX

Can someone assist please. I am trying to change IP address on NCR UNIX using tcpconfig but the address wont change!! Using ifconfig -a I still see the old address! This is on an NCR S24 server. (3 Replies)
Discussion started by: Vusi Boutu
3 Replies

8. UNIX for Dummies Questions & Answers

Date stopped changing on Unix server

Hi, I don't have a lot of info, so I'm sure this is a long shot. But figured I'd check to see if this issue rings a bell with anyone. Two weeks ago a Unix server stopped updating the date. So everyday it shows the same system time. It's been manually changed to the correct date, but then... (2 Replies)
Discussion started by: no_clue
2 Replies

9. IP Networking

Changing IP address

My work has a Unix based system that currently has the IP address 192.9.2.25 We recently changed internet providers from DSL to Cable. By doing so, we had to get a new router (Belkin) since the DSL provider had a wireless router/modem in one. With the DSL setup, I was able to change the router's... (2 Replies)
Discussion started by: Len351
2 Replies

10. Forum Support Area for Unregistered Users & Account Problems

Problem changing the email address associated with my UNIX.com account

Hello I have had an account for many years. I have attempted to change the email address associated with my account. After logging-in to unix.com and revising my email address, I received a 're-verification' email at that new address. The first link in that email took me to a page with the... (1 Reply)
Discussion started by: irb
1 Replies
SOCKET_GETSOCKNAME(3)							 1						     SOCKET_GETSOCKNAME(3)

socket_getsockname  -  Queries	the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on
its type

SYNOPSIS
bool socket_getsockname (resource $socket, string &$addr, [int &$port]) DESCRIPTION
Note socket_getsockname(3) should not be used with AF_UNIX sockets created with socket_connect(3). Only sockets created with socket_accept(3) or a primary server socket following a call to socket_bind(3) will return meaningful values. PARAMETERS
o $socket - A valid socket resource created with socket_create(3) or socket_accept(3). o $addr - If the given socket is of type AF_INET or AF_INET6, socket_getsockname(3) will return the local IP address in appropriate nota- tion (e.g. 127.0.0.1 or fe80::1) in the $address parameter and, if the optional $port parameter is present, also the associated port. If the given socket is of type AF_UNIX, socket_getsockname(3) will return the Unix filesystem path (e.g. /var/run/dae- mon.sock) in the $address parameter. o $port - If provided, this will hold the associated port. RETURN VALUES
Returns TRUE on success or FALSE on failure. socket_getsockname(3) may also return FALSE if the socket type is not any of AF_INET, AF_INET6, or AF_UNIX, in which case the last socket error code is not updated. SEE ALSO
socket_getpeername(3), socket_last_error(3), socket_strerror(3). PHP Documentation Group SOCKET_GETSOCKNAME(3)
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy