LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-03-2015, 09:19 AM   #1
newhorizon101
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Rep: Reputation: Disabled
UDP socket goes into ENOTSOCK


Greetings All,

I am trying to receive on a datagram socket, this works fine for hours and then all of a sudden recvfrom fails with error 88. Which translates to ENOTSOCK.

I am using 3.9.0 of the stock kernel. Can some one share any thoughts on what may be causing the sudden close of the socket.

Thanks,
 
Old 04-04-2015, 12:39 AM   #2
dijetlo
Senior Member
 
Registered: Jan 2009
Location: RHELtopia....
Distribution: Solaris 11.2/Slackware/RHEL/
Posts: 1,491
Blog Entries: 2

Rep: Reputation: Disabled
Quote:
"Socket operation on non-socket", ENOTSOCK},
Woah... that's illegal in most states...
Quote:
this works fine for hours and then all of a sudden recvfrom fails with error 88.
Out of the box... did you valgrind this Frankenstein for mem leaks?
 
Old 04-06-2015, 03:33 PM   #3
newhorizon101
LQ Newbie
 
Registered: Apr 2014
Posts: 16

Original Poster
Rep: Reputation: Disabled
Hi There,

Yes, I do hear you , It should be illegal !

I will try to install valgrind and run the application with it. I will share what I find. Thanks for your comments.
 
  


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
Unable to receive UDP broadcast from a UDP socket bound to an interface Sreeram B S Linux - Networking 5 05-03-2012 02:44 PM
Help with non blocking udp socket mhogue Programming 2 02-04-2010 02:07 AM
Semaphore for UDP socket vtstmn Linux - Networking 0 04-02-2009 02:00 AM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 05:43 AM
Using Raw Socket for UDP myself_rajat Linux - Networking 0 05-17-2004 03:35 AM

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

All times are GMT -5. The time now is 01:17 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