Message boards : API : missing extern functions e.g. boinc_close_socket()
Message board moderation
Author | Message |
---|---|
Send message Joined: 8 Aug 08 Posts: 570 |
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 |
Send message Joined: 8 Aug 08 Posts: 570 |
Solved the problem. Needed the network.cpp and .h as well as the windows library Ws2_32.lib for the example to work. |
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.