[Csci551-talk] socket programs
Devarshi Shah
devarshi at ieee.org
Thu Jan 29 20:36:13 PST 2004
Hi Nishant,
If I am correct, you would also need to link the appropriate libraries.
(ex. "-l socket" option).
Devarshi
Devarshi P. Shah
--------------------------------------------------------------
Graduate Student (Computer Science),
University of Southern California, LA.
--------------------------------------------------------------
Web : http://devarshi.shah.name
email : devarshi at ieee.org
Cell : 323-363-3791, Home :323-373-0318
--------------------------------------------------------------
-----Original Message-----
From: csci551-talk-bounces at mailman.isi.edu
[mailto:csci551-talk-bounces at mailman.isi.edu] On Behalf Of nishant agarwal
Sent: Thursday, January 29, 2004 8:11 PM
To: csci551-talk at ISI.EDU
Subject: [Csci551-talk] socket programs
I have done:
#include <sys/socket.h> and so on for sys/types.h , netinet/in.h,
arpa/inet.h and all the files suggested in the local man pages. But yet I
get symbol referencing errors for socket, bind and inet_addr . what cud be
the problem.
Also, what is the way to examine the status of my ports using netstat. How
do I identify my localhost local address there so that I can grep and see
the status of my machine ports.
cheers
Nishant
More information about the Csci551-talk
mailing list