Open goldeneas opened 1 year ago
Perhaps it would be helpful if you show us the error.
here it is: https://snipboard.io/Do9Ubm.jpg
OK. It's better if you paste in the text of the sample and error(s) rather than adding an image or a link.
So a trivial UDP example (on Windows x64) that creates and binds an IPv4 UDP socket is complaining that sockpp::datagram_socket::create_handle(int, int)
is missing.
That's odd... the function is completely defined in the header: https://github.com/fpagliughi/sockpp/blob/f3100f575b38e83a1f2464ca54228bebb1282679/include/sockpp/datagram_socket.h#L76-L78
Plus this same idea is implemented in the UDP echo server example which, last I checked, compiles and run fine on Windows. https://github.com/fpagliughi/sockpp/blob/f3100f575b38e83a1f2464ca54228bebb1282679/examples/udp/udpechosvr.cpp#L91-L100
So far, I can't think of what would cause this, but I can test it from a stand-alone app to see if it does anything weird.
When I try to create an UDP socket using this library an unresolved external symbol errors pops up. However this does not happen if I try to create a TCP socket. What should I do?