LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-30-2002, 04:19 AM   #1
SmitaJain
LQ Newbie
 
Registered: Jan 2002
Location: India
Posts: 1

Rep: Reputation: 0
Unhappy Is SO_RCVTIMEO not supported on Linux ?


Hi, I am facing a problem regarding the setsockopt() function in Linux OS. When i try to set the option for general socket code i.e. SOL_SOCKET, i am unable to place a timeout on socket receives and sends (SO_RCVTIMEO and SO_SNDTIMEO). This is giving me an error constantly.

When i use the setsockopt() function as shown below, i get the following error.

setsockopt(m_iSockRxRaw, SOL_SOCKET, SO_RCVTIMEO, (char*)&timeout, sizeof(timeout));
The error is 92: Protocol not available
setsockopt(m_iSockRxRaw, SOL_SOCKET, SO_SNDTIMEO, (char*)&timeout, sizeof(timeout));
The error is 92: Protocol not available
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Will a firewire host adaptor with a Linux supported IEEE1394 chipset work in linux? mmx87 Linux - Hardware 1 09-25-2004 03:22 AM
I got a LG CD-WRITER and i want to know if it's supported by Linux Boogieman Linux - Hardware 6 03-12-2004 11:43 PM
languages supported by linux? stevoman098 Linux - Newbie 4 01-24-2004 03:30 AM
Linux supported TV cards? HitmanIP7 Linux - Hardware 5 05-24-2003 05:42 PM
Linux Supported ISP(s) Rod Linux - Newbie 2 11-28-2000 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:10 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
Open Source Consulting | Domain Registration