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

Windows Development

 
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 
GeneralRe: select() slowness Pin
Dave Kreskowiak30-Jun-22 4:28
mveDave Kreskowiak30-Jun-22 4:28 
GeneralRe: select() slowness Pin
Gisle Vanem30-Jun-22 8:03
Gisle Vanem30-Jun-22 8:03 
GeneralRe: select() slowness Pin
Dave Kreskowiak30-Jun-22 8:12
mveDave Kreskowiak30-Jun-22 8:12 
GeneralRe: select() slowness Pin
Gerry Schmitz30-Jun-22 8:22
mveGerry Schmitz30-Jun-22 8:22 
GeneralRe: select() slowness Pin
Gisle Vanem30-Jun-22 8:51
Gisle Vanem30-Jun-22 8:51 
GeneralRe: select() slowness Pin
k505430-Jun-22 11:18
mvek505430-Jun-22 11:18 
GeneralRe: select() slowness Pin
Gerry Schmitz2-Jul-22 7:12
mveGerry Schmitz2-Jul-22 7:12 
AnswerRe: select() slowness Pin
Eddy Vluggen2-Jul-22 4:32
professionalEddy Vluggen2-Jul-22 4:32 
AnswerRe: select() slowness Pin
Randor 20-Jul-22 2:37
professional Randor 20-Jul-22 2:37 
QuestionWhat does MS mean by the words "MinimalVisualStudioVersion" found in .sln files? Pin
RedDk15-Dec-21 12:14
RedDk15-Dec-21 12:14 
AnswerRe: What does MS mean by the words "MinimalVisualStudioVersion" found in .sln files? Pin
Randor 22-Dec-21 6:52
professional Randor 22-Dec-21 6:52 
QuestionBinding Pin
michaelbarb6-Dec-21 5:50
michaelbarb6-Dec-21 5:50 
AnswerRe: Binding Pin
Richard MacCutchan6-Dec-21 6:16
mveRichard MacCutchan6-Dec-21 6:16 

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.