netdev
[Top] [All Lists]

socket in c++

To: netdev@xxxxxxxxxxxxxxxxxxxxxxx
Subject: socket in c++
From: Hector Yuen <hyuen@xxxxxxxxxxxxxxxx>
Date: Thu, 9 Dec 1999 10:14:52 -0600 (CST)
In-reply-to: <19991209152958.A1170@xxxxxxxxxxx>
Sender: owner-netdev@xxxxxxxxxxx
hello, I am trying to make an IPv6 socket on c++, on linux, I first tried
the C version, and works fine, but I want to make a class or something to
make things easier, so I renamed the file sock.c to sock.cpp, and tried to
compile it with:
gcc sock.cpp -lnsl -lsocket -o sock
well, with the c version works, but here it displays a lot of errors, what
is happening?


<Prev in Thread] Current Thread [Next in Thread>