10 More Discussions You Might Find Interesting
1. Red Hat
Hi everyone, this is my first post on this forum.
I have a ASUS laptop dualbooted with win7 and f16(Fedora 16). I recently shifted from Ubuntu.
Wireless internet is very slow and rather erratic on my laptop only in the case of Linux. On win7 its flawless.
I have a 30mbps connection and I... (0 Replies)
Discussion started by: parth.s
0 Replies
2. Red Hat
Hi,
Could some please help me in configuring wireles internet on redhat linux installed on my laptop.
When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card:
Intel(R) PRO/Wireless 3945ABG Network Connection
I have run the following steps... (9 Replies)
Discussion started by: girish1428
9 Replies
3. UNIX for Advanced & Expert Users
Hi,
Could some please help me in configuring wireles internet on redhat linux installed on my laptop.
When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card:
Intel(R) PRO/Wireless 3945ABG Network Connection
I have run the following steps... (1 Reply)
Discussion started by: girish1428
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Could some please help me in configuring wireles internet on redhat linux installed on my laptop.
When I booted using windows, I saw the following, which I think is the name of my laptop's wireless card:
Intel(R) PRO/Wireless 3945ABG Network Connection
Regards,
Girish. (0 Replies)
Discussion started by: girish1428
0 Replies
5. Solaris
Hello,
I have Solaris 10 Express, and am going to try OpenSolaris on a different computer. I need to configure and setup my wireless card, a NetGear WG311T, on my Solaris 10 machine, because I have no internet yet. Please help me get my wireless working, Thanks.
-SunPowered
Some links... (2 Replies)
Discussion started by: sunpowered
2 Replies
6. UNIX for Dummies Questions & Answers
I feel like the true definition of a newb but I guess you gotta start somewhere. I installed Gentoo on my laptop yesterday, it's a gnome based environment and I cannot get any wireless internet. The iwconfig and net-setup commands are not being recognized. I'm not sure what the problem is, I've... (1 Reply)
Discussion started by: jessparkscars
1 Replies
7. Linux
I was wondering if someone here would happen to know how to setup a wireless connection with Fedora Core 4. I try to setup the internet options but my wireless adapter doesnt appear on the list... I'm new to fedora, and i never have setup a wireless connection with *nux systems. Any help, or... (5 Replies)
Discussion started by: kyoist
5 Replies
8. Solaris
Hi,
I am trying to configure Solaris 10 for Internet Connection.
I have a PC (Celeron 1.7Ghz, 512 MB RAM, Gigabyte 8LD Motherboard).
The Wireless Telephone Specs are:
TATA Indicom Walky.
Further product details are as follows ( I did not understand most of what it says. I have
given... (0 Replies)
Discussion started by: priteshugrankar
0 Replies
9. IP Networking
i've got a win2k machine(192.168.0.2) that i want to give access to mandrake through my network (192.168.0.0 255.255.255.0). I enabled ICS and setup the mandrake machine to be (192.168.0.3 255.255.255.0) and i'm still not able to get Internet Access to my Mandrake.
I guess I have to do Dynamic... (2 Replies)
Discussion started by: jlb00h
2 Replies
10. Linux
I just recently bought a HP Pavilion zt3020us and it had came with an internal WiFi NIC (Intel(R) PRO/Wireless LAN 2100 3B Mini PCI Adapter) and I was wondering where I could go to find a device driver for it under Mandrake 9.1 Linux. (2 Replies)
Discussion started by: N0C717
2 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)