How can it be with my socket????

Hi all:
When I compiled a piece of code which create a socket,errors occurred:
error: no matching function for call to ‘socket::socket(int, sock_type, __u16)’
include/linux/net.h:115: note: candidates are: socket::socket()
include/linux/net.h:115: note: socket::socket(const socket&)
what does it mean??? Thanks very much for your reply.

Best Regards
Eugene
Last edited on
It looks like you're using a socket class but haven't declared it. It's impossible to be sure without seeing the code.
Topic archived. No new replies allowed.