The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
USB Ports eggfoot UNIX for Dummies Questions & Answers 1 04-22-2008 02:19 PM
regarding ports shanshine SUN Solaris 2 02-26-2008 04:21 AM
Ports walsh_j UNIX for Dummies Questions & Answers 4 07-18-2007 03:25 PM
ports??? eloquent99 IP Networking 4 02-24-2003 05:56 PM
Ports Ralf UNIX for Dummies Questions & Answers 2 12-10-2002 12:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-29-2008
shafi2all shafi2all is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 68
Application to run on ports

I do not have much idea about ports.

How can i make an application(written in C) to run on a specific port ?

Does the code internally written in C says about port number where the application to run ? Can i make an application to select port dynamically which are closed(other than standard ports for telnet, ftp ...) ?

Does some how port numbers are related to hardware ?

Thanks in advance !
  #2 (permalink)  
Old 07-29-2008
ynilesh's Avatar
ynilesh ynilesh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
check /etc/services file which will give detailed information about ports used by which application.
  #3 (permalink)  
Old 07-29-2008
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
Oh, Beej's guide gives you answers to most (if not all) of your questions.

Beej's Guide to Network Programming
  #4 (permalink)  
Old 07-30-2008
shafi2all shafi2all is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 68
Exclamation

Thanks ! It was useful and interesting guide to read.

I did not get answer to my last question out of it ?
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:40 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0