Click here to Skip to main content
16,008,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRandomize Pin
ISIS5513-Apr-02 10:44
ISIS5513-Apr-02 10:44 
GeneralRe: Randomize Pin
Michael Dunn13-Apr-02 11:29
sitebuilderMichael Dunn13-Apr-02 11:29 
GeneralRe: Randomize Pin
ISIS5513-Apr-02 11:35
ISIS5513-Apr-02 11:35 
GeneralRe: Randomize Pin
Michael Dunn13-Apr-02 15:25
sitebuilderMichael Dunn13-Apr-02 15:25 
GeneralRe: Randomize Pin
Jeremy Falcon13-Apr-02 17:23
professionalJeremy Falcon13-Apr-02 17:23 
GeneralRe: Randomize Pin
Ravi Bhavnani15-Apr-02 10:05
professionalRavi Bhavnani15-Apr-02 10:05 
GeneralRe: Randomize Pin
Michael Dunn15-Apr-02 20:40
sitebuilderMichael Dunn15-Apr-02 20:40 
GeneralOnReceive not being triggered in CSocket Pin
Adam Clauss13-Apr-02 7:45
Adam Clauss13-Apr-02 7:45 
I have socket listening on a port.
Using telnet, I connect to the socket, it then accepts the connection to a
'client' socket.
In the client socket's class (derived from CSocket), I have the OnReceive
function overriden to post a message back to the main dialog window whenever
I can read from it.
Now, when I type something in my telnet window and hit enter, shouldn't that
'send' it to the socket to receive?
But it doesn't ever get called. I set a breakpoint and debugged it. Just
acts like nothing is ever sent to the socket from my telnet. I can send
FROM the socket and the text will be displayed correctly on the telnet
window...

This was tested on Windows XP if it makes a difference.
The server I am writing is a POP3 server.
So, just to test that telnet wasn't just wacko, I also had Outlook Express
connect. It received my intial welcome message, but I never receive OE's
command.
Any ideas?

Adam Clauss
cabadam@tamu.edu
GeneralRe: OnReceive not being triggered in CSocket Pin
Matt Newman13-Apr-02 8:21
Matt Newman13-Apr-02 8:21 
GeneralRe: OnReceive not being triggered in CSocket Pin
Adam Clauss13-Apr-02 9:34
Adam Clauss13-Apr-02 9:34 
GeneralRe: OnReceive not being triggered in CSocket Pin
Matt Newman13-Apr-02 9:31
Matt Newman13-Apr-02 9:31 
GeneralRe: OnReceive not being triggered in CSocket Pin
Adam Clauss13-Apr-02 10:57
Adam Clauss13-Apr-02 10:57 
GeneralRe: OnReceive not being triggered in CSocket Pin
Jon Hulatt14-Apr-02 22:52
Jon Hulatt14-Apr-02 22:52 
GeneralDeleting a running executable Pin
David Wulff13-Apr-02 7:17
David Wulff13-Apr-02 7:17 
GeneralRe: Deleting a running executable Pin
Mazdak13-Apr-02 7:44
Mazdak13-Apr-02 7:44 
GeneralRe: Deleting a running executable Pin
David Wulff13-Apr-02 7:52
David Wulff13-Apr-02 7:52 
GeneralRe: Deleting a running executable Pin
Mazdak13-Apr-02 8:38
Mazdak13-Apr-02 8:38 
GeneralRe: Deleting a running executable Pin
David Wulff13-Apr-02 8:46
David Wulff13-Apr-02 8:46 
GeneralRe: Deleting a running executable Pin
Mazdak13-Apr-02 10:02
Mazdak13-Apr-02 10:02 
GeneralRe: Deleting a running executable Pin
Ravi Bhavnani13-Apr-02 8:08
professionalRavi Bhavnani13-Apr-02 8:08 
GeneralRe: Deleting a running executable Pin
David Wulff13-Apr-02 8:11
David Wulff13-Apr-02 8:11 
GeneralRe: Deleting a running executable Pin
Dave Goodman13-Apr-02 8:24
Dave Goodman13-Apr-02 8:24 
GeneralThanks, Dave! Pin
Ravi Bhavnani13-Apr-02 8:34
professionalRavi Bhavnani13-Apr-02 8:34 
GeneralRe: Deleting a running executable Pin
David Wulff13-Apr-02 8:49
David Wulff13-Apr-02 8:49 
GeneralRe: Deleting a running executable Pin
ISIS5513-Apr-02 10:48
ISIS5513-Apr-02 10:48 

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.