LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-04-2007, 04:06 AM   #1
venkat_p257
LQ Newbie
 
Registered: Dec 2007
Posts: 6

Rep: Reputation: 0
Can I bind to a serial port using BIND Socket API??


Hi

Can I bind to a serial port using "BIND" Socket API??
If yes, plz tell me how?
thanks

Last edited by venkat_p257; 12-04-2007 at 04:07 AM.
 
Old 12-04-2007, 05:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,390

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
no, that is for networking only. try a sample program like this http://www.comptechdoc.org/os/linux/...pgcserial.html for serial ports.
 
Old 12-04-2007, 05:49 AM   #3
venkat_p257
LQ Newbie
 
Registered: Dec 2007
Posts: 6

Original Poster
Rep: Reputation: 0
thanks chris.

Last edited by venkat_p257; 12-04-2007 at 09:41 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
can not bind socket to address terrormaniak Linux - Software 0 09-12-2007 03:00 PM
How do I get non root access to bind a socket to port 80? APB_4 Linux - Software 2 04-22-2006 10:30 AM
cannot bind to socket: address already in use exfacior Linux - Wireless Networking 0 09-27-2004 12:34 PM
Why is my socket unable to bind to the port in the C Code. mcp_achindra Programming 10 03-24-2004 08:34 AM
Could not bind listening socket chabotrobert Linux - Networking 1 10-29-2003 12:36 PM


All times are GMT -5. The time now is 11:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration