Sponsored Content
Full Discussion: how to connect internet????
Operating Systems Linux how to connect internet???? Post 302243332 by bharath raja on Saturday 4th of October 2008 10:07:24 PM
Old 10-04-2008
how to connect internet????

HI,

Am using GPRS ( MOB # 3230 ) internet connection in windows

Hw to use internet r connect in linux.. ( Red Hat Linux Ver.10 )

Please help me..

Thanks in adv..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cannot connect to the Internet

I running HPUX 11.0, Netscape gives me an error "Unable to locate Server" when using a www.something.com address. If I use an IP address I get past the router and onto the Internet. My workstation can get to the Router @ 192.168.0.1 and also it's local APACHE server. I have DHCP enabled... (8 Replies)
Discussion started by: johnalt
8 Replies

2. Solaris

How to connect Solaris 10 to the internet ?!

ive installed a fresh copy of solaris 10 on a E3500 Server machine, i gave it a static IP address , 192.168.1.15 its a test server in our office (small office) we are using LINKSYS as our internet router and DHCP as well .. its IP is 192.168.1.1 and ive added this IP as Default route on the server... (9 Replies)
Discussion started by: mduweik
9 Replies

3. Solaris

trying to connect to internet

i have just installed solaris 10 on a 60 gb hard drive. now im trying to install my nic driver but when i put in the floppy disk for the nic card it cant read it, so then i found that i have to mount the floppy drive and i tried putting in the mount command but i dont know where to mount it and if... (38 Replies)
Discussion started by: vutty81
38 Replies

4. Solaris

how to connect to internet on Solaris 10

Hi, I am new to Solaris just migrating from Windows XP. I want to connect to internet but I have problem with configuration. My ISP has provided me a router.I get internet connection through DHCP. I don't know any proxy or subnetmask or any IP address that requires during configuration of... (1 Reply)
Discussion started by: pappu2008
1 Replies

5. Solaris

How to connect to Internet

Hi I installed solaris developer edition 1/08 today.I want to connect to Broadband internet through my ADSL 2+ Modem/Router with a username and password. plz help in this case,I am new to sun solaris:confused: the modem itself is a router it worked well on ubuntu and red hat (3 Replies)
Discussion started by: santugvd
3 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 - How to connect to internet

I recently installed solaris 10 on a seperate hard disk in my desktop pc. My first hard disk is running windows xp. I am totally new to solaris. Please help me to connect to the internet through solaris 10. I read a few threads, and re-installed solaris 10 by giving 'Yes' to the question that... (1 Reply)
Discussion started by: hari86av
1 Replies

7. Solaris

Can't connect to Internet

Dear freinds... I downloaded solaris for x86 and was able to configure the lan correctly.. I can ping and share with other destops through lan... but still I can't connect to internet ? can you please help.. I put my default gateway which is 192.168.1.1 to /etc/defaultrouter but with no use..... (13 Replies)
Discussion started by: yahyaaa
13 Replies

8. Linux

How to connect to internet

Hi, Can someone guide me regarding how to connect to internet. what are steps? Thanks in advance (2 Replies)
Discussion started by: naren nandale
2 Replies

9. Red Hat

How to connect internet in Linux OS?

What all is required so that I can use internet on my Linux OS My OS: Red Hat Fedora version: 2.6 I have to connect via my Nokia cell phone via cable. This way only I had been using internet on my Windows OS. If any software is required to install on my UNIX for internet, then I don't... (1 Reply)
Discussion started by: ravisingh
1 Replies

10. IP Networking

How to connect internet in Linux OS

How to enable internet on my Linux OS My OS: Red Hat Fedora Release 9 (Sulphur) version: 2.6 I have to connect via my Nokia cell phone via cable. This way only I had been using internet on my Windows OS. If any software is required to install on my UNIX for internet, then I don't have any. If... (14 Replies)
Discussion started by: ravisingh
14 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 06:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy