Sponsored Content
Operating Systems Solaris Intermittent internet connectivity Post 302274072 by System Shock on Tuesday 6th of January 2009 02:32:47 PM
Old 01-06-2009
What do you mean by "can't get out on a consistent basis"?
For example: take a site like yahoo. Chances are yahoo.com is not going to be offline or be taken down for maintenance. If you don't change anything in the server, and you can ping hit yahoo.com sometimes and sometimes it times out, chances are there's nothing wrong with your server configuration, and you will need to look at other things like the NIC, cable, internal network traffic, firewall, etc.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

RedHat Internet Connectivity

I recently installed RedHat9 on my laptop as a guest OS. My host OS is Windows2000 and I am using VMWare to toggle between two OSs. Any time I try to connect to internet from RedHat environment using Mozilla, internet acces does not work. At the office, after connecting my laptop to our... (7 Replies)
Discussion started by: eysheikah
7 Replies

2. UNIX for Dummies Questions & Answers

Internet connectivity via Win-ICS

Hi all, Have two DEC Alpha 3000 systems (I think they're considered legacy servers) that I acquired from my former employer prior to the Voluntary Administrator seizing the assets. They both have the basic SCO V4.0f OS installed and too be honest, I've had little time to even turn them on. ... (2 Replies)
Discussion started by: Cameron
2 Replies

3. IP Networking

Lost Connectivity to the Internet

I'm running FreeBSD 6.2 and suddenly lost connectivity to the net. After unplugging the router and checking all the connections I could find nothing wrong. All the driver software seems to be intact. I thought I would remove the driver software and restore it. However, when I go to root and type ... (5 Replies)
Discussion started by: Aaron Van
5 Replies

4. Red Hat

problems with internet connectivity

I had a strange problem.Recently, I virtualized my RHEL 5 system by installing Fedora 8 as guest operating system. The installation went fine. But, after installation my internet connection stopped working. Any suggestions?. I was on TataIndicom wireless USB modem. I haven't had any problems with... (3 Replies)
Discussion started by: jaghelp323
3 Replies

5. Solaris

pcn0 intermittent network connectivity issue

I have a solaris 10 x86 installed on a VMware server. It has been runing well for a couple weeks, but started to have network connectivity issue since last week. The network card seems to be up and down every one minute. So I got connection closed after I sshed to it for about one minute. #... (2 Replies)
Discussion started by: fredao
2 Replies

6. Linux

Intermittent connectivity issues with ROCKS on a compute cluster

I have a cluster set up with a head node and compute nodes running TORQUE and MOAB. The distro is ROCKS 5.3. I've been having problems with the connectivity for the past couple weeks now. Every couple hours it seems like the network connectivity will just stop working: sometimes it'll start back up... (0 Replies)
Discussion started by: gandalf85
0 Replies

7. Shell Programming and Scripting

intermittent bc parse error

Thought I had this worked out, and the equations work fine on their own. What I have is an if statement that checks the raw size of a folder. Smaller than a certain threshold and it returns a value in MB format, otherwise it returns it in GBs. Yes, I know that df and du return human readable... (3 Replies)
Discussion started by: reid
3 Replies

8. UNIX and Linux Applications

SQUID proxy : How do I limit internet connectivity to X hrs/day

Hi Everyone! A friend of mine is looking for a way to limit time his kids spent on the internet. I told him he should try out Squid proxy server. He now tries to find a way to limit total time spend on the internet to "X" hours a day, at any time during the day. I remember there are built-in... (3 Replies)
Discussion started by: togr
3 Replies

9. UNIX for Dummies Questions & Answers

Internet connectivity problem

Hello fellow users and enthusists. I am in need of assistance. I have installed Solaris 10 on a Gateway AMD Athlon 64 system. It is set up to dual boot with Windows 7. I am attempting to get internet access through another Windows 7 box, which is sharing its wireless internet connection with... (0 Replies)
Discussion started by: jl2215
0 Replies
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)
All times are GMT -4. The time now is 07:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy