Click here to Skip to main content
15,914,767 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGDI question, drawing fine dotted line (again)? Pin
Anonymous31-Oct-02 0:01
Anonymous31-Oct-02 0:01 
AnswerRe: GDI question, drawing fine dotted line (again)? Pin
dabs31-Oct-02 2:39
dabs31-Oct-02 2:39 
GeneralRe: GDI question, drawing fine dotted line (again)? Pin
Anonymous31-Oct-02 3:10
Anonymous31-Oct-02 3:10 
AnswerRe: GDI question, drawing fine dotted line (again)? Pin
Scott H. Settlemier31-Oct-02 6:01
Scott H. Settlemier31-Oct-02 6:01 
GeneralDuplicate socket across process boundaries Pin
Anonymous30-Oct-02 23:57
Anonymous30-Oct-02 23:57 
GeneralRe: Duplicate socket across process boundaries Pin
Gary R. Wheeler2-Nov-02 5:20
Gary R. Wheeler2-Nov-02 5:20 
GeneralRebar and storing of position bands Pin
Trantor30-Oct-02 23:44
Trantor30-Oct-02 23:44 
GeneralDial-up Connection and CAysncSocket PROBLEMS! Pin
Wenrich30-Oct-02 23:19
Wenrich30-Oct-02 23:19 
in my PocketPC2002 app, I create a CAysncSocket object to
send a file to the server. The PocketPC uses diap-up
connection to the Internet. I got some problems:

Case 1> I don't specify the operating mode of the socket.
while the sending is is progress, if the dial-up
connection is disconnected, the mySock.Send() does NOT
return! so my program hangs! Seems like CAsyncSocket
operates in blocking mode, but the documentation says
the default mode is non-blocking!
Case 2> I specify the operating mode like following:
unsigned long mode = 1;
ioctlsocket(mySock.m_hSocket, FIONBIO, &mode);
// explicitely set it to non-blocking mode
then, after a few KBs of data are sent, i get two
WSAEWOULDBLOCK errors and then mySock.Send() always
returns 0. The whole file can NOT be sent. While in the
first case, the whole file can be sent successfully
if the network is available throughout the transfer.

I'm very confused and frustrated as well! Please HELP!
Thanks a million!

Wenrich

GeneralRe: Dial-up Connection and CAysncSocket PROBLEMS! Pin
Anonymous31-Oct-02 0:07
Anonymous31-Oct-02 0:07 
Generaldrag&drop question Pin
apu_be30-Oct-02 23:17
apu_be30-Oct-02 23:17 
GeneralRe: drag&drop question Pin
dabs31-Oct-02 2:26
dabs31-Oct-02 2:26 
Generalcommand line parameters Pin
Shamoon30-Oct-02 22:39
Shamoon30-Oct-02 22:39 
GeneralRe: command line parameters Pin
Pit M.30-Oct-02 23:45
Pit M.30-Oct-02 23:45 
GeneralRe: command line parameters Pin
Shamoona31-Oct-02 2:24
Shamoona31-Oct-02 2:24 
GeneralRe: command line parameters Pin
Dudi Avramov31-Oct-02 5:19
Dudi Avramov31-Oct-02 5:19 
QuestionHow can I make a Tab control contains other controls placed over it Pin
Hamzeh30-Oct-02 22:30
Hamzeh30-Oct-02 22:30 
AnswerRe: How can I make a Tab control contains other controls placed over it Pin
Ravi Bhavnani31-Oct-02 1:36
professionalRavi Bhavnani31-Oct-02 1:36 
GeneralHelp: CStatic cotnrol don't change it's client rect when it's resized... Pin
Joan M30-Oct-02 21:56
professionalJoan M30-Oct-02 21:56 
GeneralRe: Help: CStatic cotnrol don't change it's client rect when it's resized... Pin
dabs30-Oct-02 22:29
dabs30-Oct-02 22:29 
GeneralSTL (silly) Warings Pin
Jonathan de Halleux30-Oct-02 21:44
Jonathan de Halleux30-Oct-02 21:44 
GeneralRe: STL (silly) Warings Pin
Joaquín M López Muñoz30-Oct-02 22:02
Joaquín M López Muñoz30-Oct-02 22:02 
GeneralRe: STL (silly) Warings Pin
jamiehale31-Oct-02 3:54
jamiehale31-Oct-02 3:54 
GeneralRe: STL (silly) Warings Pin
Jonathan de Halleux4-Nov-02 1:06
Jonathan de Halleux4-Nov-02 1:06 
GeneralRe: STL (silly) Warings Pin
jhwurmbach31-Oct-02 4:17
jhwurmbach31-Oct-02 4:17 
GeneralGreat tool Pin
Jonathan de Halleux4-Nov-02 1:27
Jonathan de Halleux4-Nov-02 1:27 

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.