From mboxrd@z Thu Jan 1 00:00:00 1970 From: prajakta chaudhari Subject: : Question regarding ports and process Date: Sat, 10 Jul 2010 03:03:39 -0500 Message-ID: <645185a3a29810c1b041aea5ab9282b7@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 To: netdev@vger.kernel.org Return-path: Received: from mail-iw0-f174.google.com ([209.85.214.174]:40258 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751856Ab0GJIDi (ORCPT ); Sat, 10 Jul 2010 04:03:38 -0400 Received: by iwn7 with SMTP id 7so3014228iwn.19 for ; Sat, 10 Jul 2010 01:03:38 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Dear All: I am looking for unix system calls that will find the port used by a process. I don't want to use the proc file. I want to know if this can be done using unix system calls, or rtnetlink. I am not getting any clues to start. Any help will be highly appreciated. Thank you, Prajakta