Solved

socket

Posted on 2011-03-07
2
312 Views
Last Modified: 2012-06-27
what is the default timeout for datagram socket that is waiting on recvFrom()
0
Comment
Question by:learningunix
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
ID: 35061776
Find out yourself:
int sock;

//...

struct timeval tv;

getsockopt(sock,SOL_SOCKET,SO_RCVTIMEO,&tv,sizeof(tv));

Open in new window

0
 

Author Closing Comment

by:learningunix
ID: 35070354
Thx
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question