netdev
[Top] [All Lists]

Re: socket in c++

To: Hector Yuen <hyuen@xxxxxxxxxxxxxxxx>
Subject: Re: socket in c++
From: Sankar Das <sankar@xxxxxxxxxxxxxx>
Date: Fri, 10 Dec 1999 23:20:44 -0500 (EST)
Cc: netdev@xxxxxxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.GSO.3.96.991209100949.28189C-100000@servidor.unam.mx>
Reply-to: sankar@xxxxxxxxxxxxxx
Sender: owner-netdev@xxxxxxxxxxx
Try with g++ instead of gcc.


On Thu, 9 Dec 1999, Hector Yuen wrote:

> 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>