LinuxQuestions.org
Register a domain and help support LQ
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, 05: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 05:07 AM.
 
Old 12-04-2007, 06:20 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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, 06: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 10: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 04:00 PM
How do I get non root access to bind a socket to port 80? APB_4 Linux - Software 2 04-22-2006 11:30 AM
cannot bind to socket: address already in use exfacior Linux - Wireless Networking 0 09-27-2004 01:34 PM
Why is my socket unable to bind to the port in the C Code. mcp_achindra Programming 10 03-24-2004 09:34 AM
Could not bind listening socket chabotrobert Linux - Networking 1 10-29-2003 01:36 PM


All times are GMT -5. The time now is 09:44 PM.

Main Menu
Advertisement
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