![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Manage your documents with Knowledge Tree | iBot | UNIX and Linux RSS News | 0 | 12-07-2007 06:20 AM |
| knowledge | magasem | AIX | 2 | 05-17-2007 06:18 PM |
| How to get the knowledge in UNIX? Suggest me . Please. | nani_ynm | UNIX for Dummies Questions & Answers | 2 | 12-06-2005 11:24 PM |
| unix knowledge | dtooth71 | UNIX for Dummies Questions & Answers | 10 | 06-09-2003 03:38 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Any knowledge for sysctl?
HI folks. I am developing a protocol and I need to bind to an IP address that is not configured to my machine. The problem is with bind(). The sysctl system call seamed to overcome the problem of bind if you set the proc/sys/net/ipv4/ip_nonlocal_bind flag. Although I tryed to set the flag either from command line by writing sysctl -w net.ipv4.ip_nonlocal_bind=1, or echo 1>proc/sys/net/ipv4/ip_nonlocal_bind, or programmatically by using the command sysctl(), or by seting its value from the /etc/sysctl.conf file, bind still generates an error. Does anybody have any idea of why this is happening? Is there any other way to bind to a non local IP address?
PS. In the kernel configuration the sysctl support(CONFIG_SYSCTL) is enabled together with the /proc file system support (CONFIG_PROC_FS). |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|