06-28-2008
OK, two things here:
1. I'm not sure about the "hop the target" part. could you please explain a little more?
-The second thing is i had some doubts about my SSH package so i reinstalled it. After that i was able to ssh between both for a little while, then it went back to the same issue.
Now this is to me is very strange & i don't understand this behavior.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Changed from a broken Switch to a working HUB everyting else in my network is ok after the change but not my RS/6000! It refuses to get connected, get time out on Pings both ways - strange?
Could it be some problem with ARP?:confused: (2 Replies)
Discussion started by: jolun
2 Replies
2. Solaris
Hi All,
This is regarding problem with two servers...
EX:- server1(HP) is not able to connect with proxy server server2(SUN BOX)
But we can able to login.... server1 is not able to pickup any data from the proxy server...
checked in the sunbox...
# ping bdhp5050
server1 is alive
... (1 Reply)
Discussion started by: jeelans
1 Replies
3. SCO
Hi,
I have problems with my SCO unix network interfaces.
Intel integrated adapter was failing, so I installed new one - 3COM adapter into free PCI slot.
Installed driver using SCO Software manager - successfully
Added new Network adapter using SCO Network configuration manager - successfully... (0 Replies)
Discussion started by: vilius
0 Replies
4. AIX
I have AIX 5.3 OS. After issuing the print command, the printer state immediately goes down. I have checked the /etc/qconfig flle, resatrted the qdaemon but again same problem is occuring. I am using HP 5100 connected to jetdirect.
what is the problem and it's solution? (4 Replies)
Discussion started by: prashantchavan
4 Replies
5. Solaris
Hi everybody,
I have a very strange problem ; if somebody could help me it would be very kind. I'll try to explain my problem.
I have 2 unix machines absolutely identical running solaris 9.
For network reasons I need to change the IP address of the 2 machines.
I proceed exactly the same on the... (11 Replies)
Discussion started by: aribault
11 Replies
6. AIX
Dear ALL.
I installed AIX OS on customer sites.
but Only one site is too slow when I connected telnet, ftp..
Ping is too fast. but telnet and FTP is not connected..
of course i check the configuration file on aix but it's normal.
Do any Idea??
thanks in advance.
- Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies
7. Solaris
Hi
i have replace a NIC card on solaris 10 when i give the following command
ifconfig -a
it just show the lo0 (only loop back with inet 127.0.0.1)
when i give the following command to config the interface,
ifconfig elxl0 plumb
ifconfig: plumb: elxl0: no such interface
please help... (11 Replies)
Discussion started by: malikshahid85
11 Replies
8. AIX
Hi everbody;
I have 2 p520 machines and created a vio server for each one (vio01 - vio02). I created 3 AIX 5.3 lpars on vio02 and 3 AIX 6.1 lpars on vio01. The problem is when 2 lpars are activated, i can ping gateway from both lpars and vio; but when i activate 3rd lpar, network downs and none of... (2 Replies)
Discussion started by: lordofdarkness
2 Replies
9. Debian
Hello
i am configuring a debian lenny sever ,/etc/network/interfaces is modified so that eth1 takes a static IP address
then i save it wq!
then i restart the networking , /etc/init.d/networking restart .
but after reboot ,the file is reset ,note that the interfaces had by defauklt IPv6 address... (5 Replies)
Discussion started by: learn82
5 Replies
10. Android
Good day, everybody! I have a mobile phone (LG Optimus L5) with Android 4.0.3 and a tablet (PocketBook SurfPad 2) with Android 4.1.1 and I have problem with wireless network on these devices. Laptops don't have such problem. My wireless network organisation is a modem connected with an access point... (11 Replies)
Discussion started by: qzxcvbnm
11 Replies
LEARN ABOUT PHP
socket-context-options
SOCKET-CONTEXT-OPTIONS(3) 1 SOCKET-CONTEXT-OPTIONS(3)
Socket context options - Socket context option listing
Socket context options are available for all wrappers that work over sockets, like tcp, http and ftp.
o $bindto
- Used to specify the IP address (either IPv4 or IPv6) and/or the port number that PHP will use to access the network. The syntax
is ip:port for IPv4 addresses, and [ip]:port for IPv6 addresses. Setting the IP or the port to 0 will let the system choose the IP
and/or port.
Note
As FTP creates two socket connections during normal operation, the port number cannot be specified using this option.
o $backlog
- Used to limit the number of outstanding connections in the socket's listen queue.
Note
This is only applicable to stream_socket_server(3).
+--------+-----------------+
|Version | |
| | |
| | Description |
| | |
+--------+-----------------+
| 5.3.3 | |
| | |
| | Added backlog. |
| | |
| 5.1.0 | |
| | |
| | Added bindto. |
| | |
+--------+-----------------+
Example #1
Basic $bindto usage example
<?php
// connect to the internet using the '192.168.0.100' IP
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:0',
),
);
// connect to the internet using the '192.168.0.100' IP and port '7000'
$opts = array(
'socket' => array(
'bindto' => '192.168.0.100:7000',
),
);
// connect to the internet using the '2001:db8::1' IPv6 address
// and port '7000'
$opts = array(
'socket' => array(
'bindto' => '[2001:db8::1]:7000',
),
);
// connect to the internet using port '7000'
$opts = array(
'socket' => array(
'bindto' => '0:7000',
),
);
// create the context...
$context = stream_context_create($opts);
// ...and use it to fetch the data
echo file_get_contents('http://www.example.com', false, $context);
?>
PHP Documentation Group SOCKET-CONTEXT-OPTIONS(3)