Artem,
  I Think the openhpid running on EMERSON CO31KX is an old version that used to 
listen on UDP port 4743 as opposed to TCP port 4743. 
   
  You may need to contact Emerson for an update in case you do not have the 
privileges/access to change the openhpid files yourself.
   
  You may try experimenting with the latest openhpi client code (it uses 
sstreamsock object to open a TCP client socket these days) to make it 
communicate over UDP, but I am not sure if that will work eventually, given 
that the marshal/unmarshal code might have been changed radically between the 
Emerson openhpid version and the latest openhpi client version.
   
  Regards,
  Pradip
  
Peter D Phan <[EMAIL PROTECTED]> wrote:
    Anton, 

(1) HPI Daemon/Client have switched to libohTCPconnx.so from libohUDPconnx.so 
in 2004.  Since then, we have not used or tested with libohUDPconnx.so 
functions.  The way it is now, to use libohUDPconnx.so functions you would need 
to change the source code.

(2) HPI Daemon/Client communication port, default port number 4743, can be 
changed as described in openhpi/README.daemon.

Peter,
Regards,
--------------------------------------------------------------------------------------------
P. D. Phan
IBM Austin
--------------------------------------------------------------------------------------------

"Anton Pak" ---08/12/2008 11:17:48 AM---Hello!

                "Anton Pak" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]   08/12/2008 11:17 AM           Please respond to
[email protected]





          
  To
  
[email protected]    
  cc
  
    
  Subject
  
Re: [Openhpi-devel] udp and tcp ports          
Hello!

"make all" builds libohTCPconnx.so and libohUDPconnx.so libraries from  
sources in marshal directory.
However, I've found no option to use libohUDPconnx.so.

May be it is rudiment library from the past?

Antin Pak

On Tue, 12 Aug 2008 20:03:10 +0400, Peter D Phan <[EMAIL PROTECTED]> wrote:

>
> Hi Artem,
>
> This is the excerpt from openhpi/README.daemon
>
> When you run your application the client library uses two environment
> variables
> to locate the daemon service.
>
>    OPENHPI_DAEMON_HOST - URL for the host running the daemon. This can be
>                          "localhost" if the daemon is running on the  
> local
> host
>                          or an ip address.
>    OPENHPI_DAEMON_PORT - The port number the host is listening on for  
> clent
>                          connections.
>
> If the OPENHPI_DAEMON_HOST variable is not found the client library uses
> localhost as the default. If the OPENHPI_DAEMON_PORT variable is not  
> found
> then
> the client library uses port 4743 as the default.
>
>
> By default, both hpi client and daemon use port 4743.  Do you have env  
> var
> OPENHPI_DAEMON_HOST set?
>
> Regards,
> --------------------------------------------------------------------------------------------
>
> P. D. Phan
> IBM Austin
> --------------------------------------------------------------------------------------------
>
>
>             "Artem Kazakov"
>              <[EMAIL PROTECTED]
>              m>                                                          
> To
>              Sent by:                   
> [email protected]
>              openhpi-devel-bou                                           
> cc
>              [EMAIL PROTECTED]
>              forge.net                                              
> Subject
>                                        [Openhpi-devel] udp and tcp ports
>             08/12/2008 10:32
>              AM
>             Please respond to
>              [EMAIL PROTECTED]
>              ts.sourceforge.ne
>                      t
>
>
>
>
> Dear All,
> I have the following problem. I've downloaded the latest release of
> open-hpi and compiled it on my MacOS X.5
> I'm trying to connect to remote openhpid running on ATCA shelf by
> EMERSON CO31KX.
> but the problem is that the openhpid is running on UDP 4743 and the
> client library is trying to connect on TCP.... how should I configure
> or recompile the client library to connect on UDP?
>
> Thanks!
> Artem Kazakov.
> High Energy Accelerator Research Org., Japan
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the  
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Openhpi-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openhpi-devel



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel




<<image/gif>>

<<image/gif>>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Openhpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openhpi-devel

Reply via email to