Click here to Skip to main content
15,899,935 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSpeech SDK Pin
alex__b29-Jul-05 20:03
professionalalex__b29-Jul-05 20:03 
GeneralRe: Speech SDK Pin
Blake Miller1-Aug-05 8:08
Blake Miller1-Aug-05 8:08 
GeneralRe: Speech SDK Pin
alex__b1-Aug-05 17:52
professionalalex__b1-Aug-05 17:52 
GeneralRe: Speech SDK Pin
Blake Miller2-Aug-05 4:01
Blake Miller2-Aug-05 4:01 
GeneralRe: Speech SDK Pin
alex__b2-Aug-05 4:16
professionalalex__b2-Aug-05 4:16 
GeneralRe: Speech SDK Pin
Blake Miller2-Aug-05 4:34
Blake Miller2-Aug-05 4:34 
GeneralRe: Speech SDK Pin
alex__b2-Aug-05 4:43
professionalalex__b2-Aug-05 4:43 
GeneralEthernet/ network question Pin
Stan the man29-Jul-05 17:27
Stan the man29-Jul-05 17:27 
Hi.

I have not been writing socket programs long but I encountered the following:

1. How do I know if a network is available on the computer? If there is no cable in the port etc? This leads to the second problem.

2. I am using CAsyncSocket, when there is no cable connected to my computer and I try to connect, it will just sit there and never come back saying that it can not connect. IN non blocking mode, the Connect function come back with WSAEWOULDBLOCK so I know that it is trying to connect. Is there a notification that comes back when it can not connect after so much time?

3. What would happen if I was connected and then I pull out the cable, is there a notification mechanism that the connect is lost and closed? Or is there anything I can check?

4. For a server socket, what exactly does the backlog do? I thought that I can set a certain number of maximum sockets I can accept and spin off at one time? Is this correct? If I set it to 1, then once I accept this one, then the listen will stop listening until I call listen again with a new setting for backlog, right? I want to limit the number of sockets open and running for each port I listen to.

I know it is quite a mouth full up there, thanks in advance for any help.


GeneralRe: Ethernet/ network question Pin
geo_m31-Jul-05 10:12
geo_m31-Jul-05 10:12 
GeneralRestricting area in editable HTML user can edit. Pin
David Fleming29-Jul-05 16:35
David Fleming29-Jul-05 16:35 
GeneralRe: Restricting area in editable HTML user can edit. Pin
David Fleming1-Aug-05 20:43
David Fleming1-Aug-05 20:43 
GeneralEdit Box Notification Pin
Member 12742129-Jul-05 14:13
Member 12742129-Jul-05 14:13 
GeneralRe: Edit Box Notification Pin
John R. Shaw29-Jul-05 14:29
John R. Shaw29-Jul-05 14:29 
GeneralRe: Edit Box Notification Pin
Stan the man29-Jul-05 17:13
Stan the man29-Jul-05 17:13 
GeneralVery very stupid question Pin
Lampros Giampouras29-Jul-05 12:53
Lampros Giampouras29-Jul-05 12:53 
GeneralRe: Very very stupid question Pin
John R. Shaw29-Jul-05 13:48
John R. Shaw29-Jul-05 13:48 
GeneralRe: Very very stupid question Pin
Toby Opferman29-Jul-05 14:00
Toby Opferman29-Jul-05 14:00 
GeneralRe: Very very stupid question Pin
John R. Shaw29-Jul-05 14:20
John R. Shaw29-Jul-05 14:20 
GeneralRe: Very very stupid question Pin
ThaSaVa30-Jul-05 0:01
ThaSaVa30-Jul-05 0:01 
GeneralRe: Very very stupid question Pin
Lampros Giampouras30-Jul-05 2:48
Lampros Giampouras30-Jul-05 2:48 
Generallocalizing problem Pin
Razi Al-Sayed29-Jul-05 9:53
Razi Al-Sayed29-Jul-05 9:53 
GeneralRe: localizing problem Pin
Michael Dunn29-Jul-05 19:09
sitebuilderMichael Dunn29-Jul-05 19:09 
Questioncomport; never reaches EOF? Pin
quarry_0629-Jul-05 9:15
quarry_0629-Jul-05 9:15 
QuestionMFC Dll in non-MFC app? Pin
Anacreon29-Jul-05 7:55
Anacreon29-Jul-05 7:55 
AnswerOne other note Pin
Anacreon29-Jul-05 8:25
Anacreon29-Jul-05 8:25 

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.