Programming :: Error 97 = Address Family Not Supported By Protocol?

Oct 18, 2010

I have a very strange problem in a C++ RHEL4 app. Here is the code: socket(PF_INET, SOCK_STREAM, 0) returns errno 97 socket(PF_INET, SOCK_DGRAM, 0) returns successow that is strange or what?additional info:1. Extracting the above code into a test program, both return success.2. Placing the above code into the 1st line of my app, error as above.3. I ran app and test program in the same terminal window.4. My app links in many static libraries 5. My app runs fine when compiled and linked on RHEL56. My APP is a ss7 endpoint (SIP <==> SS7 message flow)7. I verified PF_INET, SOCK_STREAM, SOCK_SGRAM values are correct.

View 2 Replies


ADVERTISEMENT

Fedora Networking :: Socket() Address Family Not Supported By Protocol

Aug 18, 2010

This message appears very often in teh output of very different programs, for example Firefox/Swiftfox, Thunderbird, Mplayer In case of Mozilla apps it sometimes freezes KDE interface too (can't switch windows or panel does not pop-up) for a few seconds. IPV6 is not compiled into kernel and module is not built. It is disabled on the eth0 interface too.

View 1 Replies View Related

Red Hat / Fedora :: Get Hanged On NET:Registered Protocol Family 2

Jan 18, 2011

it get hanged on NET:Registered protocol family 2

View 1 Replies View Related

Debian :: Nfs Version Or Transport Protocol Not Supported?

Mar 31, 2011

once again banging the head against a brick wall, entered the following commands in to client and server, but get the above message on both, is there something wrong with the script, or thw computers? mount 192.168.1.68:/export/shared /mnt/nfs_on_debian

View 1 Replies View Related

General :: Use Firefox To Connect To Smb Shares Error "Firefox Doesn't Know How To Open This Address, Because The Protocol (smb) Isn't Associated With Any Program"

Jan 10, 2010

i am wanting to use Firefox to connect to my smb shares. However, i keep getting this error message: Firefox doesn't know how to open this address, because the protocol (smb) isn't associated with any program. My client configuration is as follows: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.8pre) Gecko/20100106 Ubuntu/9.10 (karmic) Shiretoko/3.5.8preI tried the instructions below to try and fix the problem with no success: Quote: From [URL]

Linux with Firefox In order to connect to a network share directly from you browser under Linux, you must configure Firefox to handle URL's starting with "smb://". This is done by typing "about:config" in the address line and hitting return. After that you must right-click the list of settings and choose "New -> Boolean" as shown below.

As name you must type: "network.protocol-handler.external.smb" with a value of "true". After that you must do the same thing over again, but this time choose "New -> String", type the name: "network.protocol-handler.app.smb" with a value of the path to the application you wish to use for browsing network shares. If you use KDE, this will typically be "/usr/bin/konqueror".

View 11 Replies View Related

Programming :: Error: Dbus/dbus-protocol.h: No Such File Or Directory

Jan 24, 2011

do have installed glib and dbus and can find them manually , /usr/include/glib-2.0/glib.h , but while comipling applicaiton it gives following error messages.

/usr/include/libosso.h:32:18: error: glib.h: No such file or directory
/usr/include/libosso.h:38:23: error: dbus/dbus.h: No such file or directory
/usr/include/libosso.h:39:32: error: dbus/dbus-protocol.h: No such file or directory

View 1 Replies View Related

Ubuntu Installation :: Error "mount Error: Could Not Resolve Address For Servername: No Address Associated With Hostname

Jul 14, 2011

This morning it would not boot; when I tried to wake up the system, it gave me a bunch of errors, the last ones being as follows: "mount error: could not resolve address for servername: No address associated with hostname mountall: mount /media/shares [1402] terminated with status 1" I am writing this in Win 7 since I lost ubuntu. I am using ubuntu 11.04.

View 2 Replies View Related

Programming :: Unable To Fix Syntax Error In Finding Ip Address Of A Host Name?

Apr 27, 2010

Writing a program that finds the IP address of a host name. Sorry forgot to include the line numbers, but where the $$$ is where the syntax error is. The errors are syntax error before "{" token and syntax error before "if". I've looked throught the code for a couple hours and can't figure out what's causing it. The code is attached below.

#define WIN
#include <stdio.h>
#include <stdlib.h>

[code]....

View 8 Replies View Related

Programming :: Explaining The USB Protocol?

Jan 16, 2011

So what I'm trying to do is write a USB stack for a uC, but beyond the 10 ms reset signals from the host I'm kind of lost. What happens after that? If someone could point me somewhere that explains it step by step in detail, instead of jumping around

View 2 Replies View Related

Programming :: Pass Ip Address, Port Address And Some Parameters From Command Line?

Apr 1, 2011

I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.

View 1 Replies View Related

Programming :: Shared Memory Address Area In Process Address Space?

Feb 21, 2011

if i attach a shared memory to my process whch part of the address space it will add(like stack, heap, data, code...).

View 3 Replies View Related

Programming :: Implement Own Protocol With AgenjJ?

Feb 9, 2011

I developed a protocol "it's a modification of OLSR" for wireless networks, it was with JAVA and I try to simulate it on NS2, I used AgentJ, so in the TCL I did any thing like usual;

set val(chan) Channel/WirelessChannel ;# channel type
set val(prop)Propagation/TwoRayGround ;# radio-propagation model
set val(netif) Phy/WirelessPhy ;# network interface type

[code]....

and I didn't specified the protocol because I attached my nodes to the JAVA class responsible for the protocol, but when I run it generates errors, it claims the protocol to use, so I don't know how proceeding.

View 2 Replies View Related

Programming :: Regarding Query Protocol On Internet?

Jul 17, 2011

There is a protocol in use - for example when I use Firefox to do a query through Google - as I type into the search field the browser sends my characters - one at a time - to the server. As I recall, at one time I found the specification but I'm pulling a blank. As I recall it does a POST of each character as I enter it, and the server responds before I have entered a <CR>. I want to write a client side program that uses that protocol and need to see the spec.

View 2 Replies View Related

Programming :: Physical Versus Virtual Mac Address And Mac Address From NIC's Firmware?

Apr 6, 2011

I need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parse the output of "ifconfig" command but it has also some drawbacks.

1. Firstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.

2. In case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.

3. If media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.

4. This one is bit complex. I know that 'ethtool' can show you the universal mac address but it's limited to use only 2 types of drivers and won't work in all cases.

View 2 Replies View Related

Programming :: Translate Virtual Address To Physical Address In Application?

Nov 18, 2009

I want to translate the virtual address to physical address in linux C application, how to do that?

View 1 Replies View Related

Networking :: Error Str2addr:Address 35 Outside Range Of Address Field Length 1?

May 12, 2011

I am working on implementing a protocol on NS2.34 .I really need help to solve this problem . Actually , I don't now whether the problem is generated by the tcl code or the c++ code when I run the simulation, I get this result :

Code:
num_nodes is set 64
INITIALIZE THE LIST xListHead
34
45
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
code....

View 1 Replies View Related

Programming :: Interface ADE7758 With AT91sam9261 Using SPI Protocol?

Sep 29, 2010

how to interface ADE7758 with AT91sam9261 using SPI protocol

View 2 Replies View Related

Programming :: Access At Physical Address - I/O Address In My Map Memory?

Dec 17, 2008

When I try to access at physical address (0xD0000), we known that it is necessary to convert physical address to virtual address using function IOREMAP(0xD0000, 1024) and return me 0xC00D0000.

Now our doubt is when I have a board with I/O in address 0x150, is it necessary to convert this address to other virtual address??? or with inb(0x150) return me state of I/O in this address? How can I known where is this I/O address in my map memory?

View 7 Replies View Related

Programming :: What Supposed To Do With Communication Protocol Reference Guide?

Jan 25, 2011

how am I supposed to use this guide. The doc states different messages lengths and formats, as a programmer, how should I utilize these information?Just fyi, my question is a general qns and does not necessarily target to just using netxms, but could be any other opensource as well.

View 4 Replies View Related

Programming :: Error "Please Enter Ip Address Of File"

Mar 3, 2011

am facing problem in sed command , i was trying write a bash script that do the following : search for the line that contain :@ , then save the line that contain and replace it with another line as following :

[code]...

View 3 Replies View Related

Programming :: NS2 Marc Greis Chapter 7 Ping Protocol Code

Dec 16, 2010

Split programming in ns2 marc greis chapter 7 ping protocol code. I tried compiling the above program and got the errors as in error.txt I have attached. Ping.cc and ping.h also are attached. I have supplied all the required header files along with appropriate paths and yet this problem.

ATTACH]5537[/ATTACH]
pingcc.txt
pingh.txt

View 3 Replies View Related

Programming :: Simulate A Serial Protocol In User Space Program To Test Reception Algorithm?

Jul 28, 2010

I want to simulate a serial protocol in user space program to test reception algorithm. The protocol is similar to UART protocol but frame format is different. The duration of 1 bit is 114,46 us. In my main function I'm creating two threads. Tx for simulating transmitting data and Rx for reception data. For measure time I use create_timer() function and signals. Each thread has its own timer and signal handler. Tx timer uses SIGUSR1 and Rx timer uses SIGUSR2. Tx thread sets the global variable and Rx reads it.

The timers are set to sample with 114,46 us period. When they reach this value signal handler should set the flag. Flag is check in thread and some operation are made. When I set the timers period for longer time (100 ms) everything works fine but when I change it to default value (114,46 us) the Rx thread doesn't receive the proper data. I am wondering if the 114,46 timer period is possible to simulate in user space? Whether the time will give me the proper resolution ? Theoretically it should provide 1 ns resolution.

View 3 Replies View Related

Server :: Remote Protocol Error : Sendmail / 571 Delivery Not Authorized, Message Refused?

Aug 18, 2009

i am facing a problem with my mail server,i get an error when sending mail to a specific domain group;

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: mail.xyz.in.: SMTP DATA-2 protocol error: 571 Delivery not authorized, message refused

Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: to=<feedback@xyz.in>, delay=00:00:25, xdelay=00:00:24, mailer=esmtp, pri=166397, relay=mail.xyz.in. [xxx.xxx.xxx.xxx], dsn=5.5.0, stat=Remote protocol error

View 11 Replies View Related

Programming :: Find The Mac Address For A Given Ip Address?

Feb 16, 2010

I am trying to find out the mac address of the eth0 port on linux probe. This port is controlled by kernal and hence I don't have control over it. How do I find out the mac address of this port ? Is there any system call which will take the ip address and will do the lookup on the linux's ip table to get the mac address ?

View 6 Replies View Related

Ubuntu :: Remote Desktop Disconnected Because Of Protocol Error Detected At The Client - Code 0x1104

Sep 16, 2009

I love Ubuntu but there is just one thing that I cannot get working. I have vista on this computer (Which I am going to delete after I get this working) when this computer is booted into vista then I type "192.168.1.65" (which is this computers internal ip address) and it connects to it without a problem. When I try this on ubuntu with KRFB running I type "192.168.1.65:5900" as it tells me to do with the added port number. This computer (This is the one I am Connecting to says "The remote user has been authenticated and is now connected." and when I hover over the icon it says "Desktop sharing - Connected with 192.168.1.70" which is my laptops IP address. On my laptop however it says "Remote Desktop Disconnected Because of a protocol error detected at the client (code 0x1104), this session will be disconnected. Please try connecting to the remote computer again." No matter how many times I try it doesn't work.

View 6 Replies View Related

Programming :: Why Is 6400 Baud Not Supported?

Jan 15, 2011

I desperately want to get away from DOS and Windows, change to Linux... however I need 6400 baud for a special dongle. I found out my PC is working in Windows perfect at this baudrate, but in Linux it is unsupported.termios.h seems to have no support. I'm programming in C++ and want to use 6400 baud.

With setserial software I can have a divisor of 18, then the baudrate = 115200/18 = 6400. However, I want to use it in my programs (G++) and maybe also in Dosbox until my program is completely converted to Linux... however, if Linux does NOT support 6400 baud this operating system I have to stick to MFC, which is terrible.

View 3 Replies View Related

CentOS 5 Server :: Centos And Xen: Lan Error - Vif0.0: Received Packet With Own Address The Source Address

Jun 18, 2010

I installed the Centos 5.5 and after the Xen. After I put a virtual machine named VM01.Initially it worked properly, I tried everything and it worked.When rebooted, I had problems with the network.I have two network cards eth0 and eth1, but eth1 does not have any ip and I use only eth0.The error that appears is:

vif0.0: received packet with own address the source address

View 3 Replies View Related

Ubuntu :: Error - VGA Mode Not Supported

Jul 19, 2011

I have sucessfully installed ubuntu 11.04 (32-bit).. When rebooting system my monitor says VGA mode not supported ? how can i get out of this?

View 5 Replies View Related

OpenSUSE :: Error: Compositing Is Not Supported On Your System

Dec 1, 2010

I am receiving the following error when trying to enable Compositing in Desktop Settings for KDE4 in openSuse 11.3-Xen

Code:
Error: Compositing is not supported on your system. Required X extensions (XComposite and XDamage) are not available. I want to have desktop effects enabled but can't seem to figure out how to get this done. "Advanced" Tab is greyed out. "Enable desktop effects" is greyed out.

[Code]...

This worked to get X up and running in the Xen kernel. However, I'm pulling what hair I have left trying to figure out how to enable compositing in Xen. The entire motivation for my upgrade was this one feature (amongst some other things).

Please show me where I'm going wrong. I hope this is not a "live with it" type of scenario due to my using Xen.

View 1 Replies View Related

Ubuntu Installation :: Getting Error (Hardware Not Supported)?

Jul 12, 2010

This was my problem for installing: [URL]. Now I downloaded ubuntu server edition, and typed sudo apt-get install kubuntu-desktop, so it did. Now I am starting my PC up, and I can't get past "waiting mouse" image and the background of the splash screen. I am on this error for a week or so already!

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved