missing extern functions e.g. boinc_close_socket()

Message boards : API : missing extern functions e.g. boinc_close_socket()
Message board moderation

To post messages, you must log in.

AuthorMessage
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 23211 - Posted: 20 Feb 2009, 11:58:27 UTC

I like to use RPC_CLIENT.
Included gui_rpc_client.cpp and .h The source compiles ok.
But the linker is missing a library file. But I don't know which one (tried every one in the BOINC source). Or do I need to include additional source.
Missing a lot of extern functions like: extern void boinc_close_socket(int sock);
See http://boinc.berkeley.edu/trac/wiki/GuiRpc example boinc_cmd.cpp.
I am compiling boinc_cmd.cpp
ID: 23211 · Report as offensive
Fred - efmer.com
Avatar

Send message
Joined: 8 Aug 08
Posts: 570
Netherlands
Message 23212 - Posted: 20 Feb 2009, 14:52:43 UTC - in response to Message 23211.  

Solved the problem.
Needed the network.cpp and .h as well as the windows library Ws2_32.lib for the example to work.
ID: 23212 · Report as offensive

Message boards : API : missing extern functions e.g. boinc_close_socket()

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.