Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about recvfrom

Read more about recvfrom

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - recvfrom

UDP server consuming high CPU

I am observing high CPU usage in my UDP server implementation which runs an infinite loop expecting 15 1.5KB packets every milliseconds. It looks like below: struct RecvContext { enum { BufferSiz...
test-img

Sayantan Ghosh

sockets

server

udp

overlapped-io

recvfrom

Votes: 0

Answers: 1

Latest Answer

You've chosen about the most inefficient combination of mechanisms imaginable. Why use overlapped I/O if you're only going to pend one operation and then wait for it complete? Why use an event, whic...
test-img

David Schwartz

recvfrom returning errno 14 in debug mode with GDB

I have a code something like this. where recvfrom works fine if i run the code normally. but when i run the code with GDB, recvfrom doesn't wait for 2 seconds and instantly throwing errno 14. == char ...
test-img

pgoyal

sockets

recvfrom

Votes: 0

Answers: 1

Latest Answer

looks like there is an error with the size of msg i was passing with recvfrom but it was weird that one version of gdb and and even compiler was hiding this error. This error was visible only with old...
test-img

pgoyal

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved