Hi Jakob,
I am using the UDPServer for which the the host is localhost by default
and in the code (Driver.cpp, line 191) it says (UDP udpserver://localport).
After discusing it with Matthias, it seems during the write
(IOStream.cpp, line 121) it uses sendto and the destination addr is not
set or in my case not even known. Could this be the problem?. Maybe
after creating the server, I need to read something from the udp-client
before using sendto.
regards
Ajish
On 02/25/2014 10:04 AM, Matthias Goldhoorn wrote:
-------- Original Message --------
Subject: Re: [Rock-dev] UDP server with iodrivers_base
Date: Tue, 25 Feb 2014 08:37:37 +0100
From: Jakob Schwendner <[email protected]>
To: <[email protected]>
Hi ajish,
the documentation in the module says you need to specify:
udp://IP_OR_HOSTNAME[:PORT]
cheers,
Jakob
*From:*[email protected] [mailto:[email protected]] *On
Behalf Of *Ajish Babu
*Sent:* Montag, 24. Februar 2014 22:51
*To:* [email protected]
*Subject:* [Rock-dev] UDP server with iodrivers_base
Hi all,
I tried to create and write to a UDP server using module derived from
iodrivers_base. While trying to write I get the error
*/UDPServerStream: writePacket(): error during write: Address family
not supported by protocol/*
I used the property io_port = "*udpserver://50000*".
Does anybody know why?
regards
Ajish
--
Ajish Babu
Researcher
Besuchsadresse der Nebengeschäftstelle:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany
Postadresse der Hauptgeschäftsstelle Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 1
28359 Bremen, Germany
Tel.: +49 421 178 45-4138
Zentrale: +49 421 178 45-0
Fax: +49 421 178 45-4150 (Faxe bitte namentlich kennzeichnen)
E-Mail: [email protected]
Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------
_______________________________________________
Rock-dev mailing list
[email protected]
http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev