[Rock-dev] Fwd: Re: UDP server with iodrivers_base
Ajish Babu
ajish.babu at dfki.de
Tue Feb 25 10:32:37 CET 2014
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 <jakob.schwendner at dfki.de>
> To: <rock-dev at dfki.de>
>
>
>
> Hi ajish,
>
> the documentation in the module says you need to specify:
>
> udp://IP_OR_HOSTNAME[:PORT]
>
> cheers,
>
> Jakob
>
> *From:*rock-dev-bounces at dfki.de [mailto:rock-dev-bounces at dfki.de] *On
> Behalf Of *Ajish Babu
> *Sent:* Montag, 24. Februar 2014 22:51
> *To:* rock-dev at dfki.de
> *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: ajish.babu at dfki.de
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
-----------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.dfki.de/pipermail/rock-dev/attachments/20140225/414cb476/attachment.htm
More information about the Rock-dev
mailing list