Click here to Skip to main content
15,881,709 members
Home / Discussions / Windows Development
   

Windows Development

 
GeneralRe: Looking for feedback on why a share on a VPN would auto-lock when using FILE>>OPEN Pin
Gerry Schmitz19-Feb-23 7:26
mveGerry Schmitz19-Feb-23 7:26 
QuestionBuild info of a C program in Visual Studio Pin
jmaida9-Dec-22 17:47
jmaida9-Dec-22 17:47 
AnswerRe: Build info of a C program in Visual Studio Pin
Richard MacCutchan9-Dec-22 21:51
mveRichard MacCutchan9-Dec-22 21:51 
AnswerRe: Build info of a C program in Visual Studio Pin
Gerry Schmitz10-Dec-22 5:49
mveGerry Schmitz10-Dec-22 5:49 
GeneralRe: Build info of a C program in Visual Studio Pin
jmaida10-Dec-22 17:36
jmaida10-Dec-22 17:36 
GeneralRe: Build info of a C program in Visual Studio Pin
Dave Kreskowiak10-Dec-22 18:50
mveDave Kreskowiak10-Dec-22 18:50 
GeneralRe: Build info of a C program in Visual Studio Pin
jmaida11-Dec-22 7:56
jmaida11-Dec-22 7:56 
GeneralRe: Build info of a C program in Visual Studio Pin
jmaida10-Dec-22 17:53
jmaida10-Dec-22 17:53 
GeneralRe: Build info of a C program in Visual Studio Pin
Richard MacCutchan10-Dec-22 21:18
mveRichard MacCutchan10-Dec-22 21:18 
QuestionRegistry file associations Pin
alex__b24-Nov-22 4:40
professionalalex__b24-Nov-22 4:40 
QuestionHow to seamlessly share code in Visual Studio? Pin
RobertSF16-Sep-22 3:48
professionalRobertSF16-Sep-22 3:48 
AnswerRe: How to seamlessly share code in Visual Studio? Pin
Gerry Schmitz16-Sep-22 6:39
mveGerry Schmitz16-Sep-22 6:39 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
RobertSF16-Sep-22 15:43
professionalRobertSF16-Sep-22 15:43 
AnswerRe: How to seamlessly share code in Visual Studio? Pin
Dave Kreskowiak16-Sep-22 6:49
mveDave Kreskowiak16-Sep-22 6:49 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
RobertSF16-Sep-22 15:49
professionalRobertSF16-Sep-22 15:49 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
Eddy Vluggen16-Sep-22 22:44
professionalEddy Vluggen16-Sep-22 22:44 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
Gerry Schmitz17-Sep-22 9:11
mveGerry Schmitz17-Sep-22 9:11 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
Eddy Vluggen18-Sep-22 7:48
professionalEddy Vluggen18-Sep-22 7:48 
AnswerRe: How to seamlessly share code in Visual Studio? Pin
Mycroft Holmes16-Sep-22 12:09
professionalMycroft Holmes16-Sep-22 12:09 
GeneralRe: How to seamlessly share code in Visual Studio? Pin
RobertSF16-Sep-22 15:43
professionalRobertSF16-Sep-22 15:43 
Questionselect() slowness Pin
Gisle Vanem29-Jun-22 22:18
Gisle Vanem29-Jun-22 22:18 
Hello folks!

In several Winsock programs, I see that a loop with
n = select(max_sock, &read_fd, &write_fd, &except_fd, &timeval);

operation on a non-blocking socket takes approx. 2 seconds to determine there is no
listener for that socket. Even for a localhost:55117 operation.
I have no listening program on port 55117. And I'd expect this to be faster.

Even with curl that's bundled with Windows, I see this:
c:\> curl -4 localhost:55117
curl: (7) Failed to connect to localhost port 55117 after 2055 ms: Connection refused

What / where is this 2 sec. set?
-- Gisle V.

AnswerRe: select() slowness Pin
Pete O'Hanlon29-Jun-22 22:46
mvePete O'Hanlon29-Jun-22 22:46 
GeneralRe: select() slowness Pin
Gisle Vanem29-Jun-22 23:22
Gisle Vanem29-Jun-22 23:22 
GeneralRe: select() slowness Pin
Pete O'Hanlon29-Jun-22 23:44
mvePete O'Hanlon29-Jun-22 23:44 
GeneralRe: select() slowness Pin
Gisle Vanem29-Jun-22 23:51
Gisle Vanem29-Jun-22 23:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.