Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pausing in C++; echoing via cout socket activity

Status
Not open for further replies.

commtalonn

Programmer
Aug 9, 2001
7
US
I've got a Winsock program that will run perfectly if I can get two little functions to work:

1. I need to make the program pause. I've used EVERYTHING----I've used delay(), pause(), etc. None of them work! I don't get any error messages when I debug/run it, but the program simply doesn't pause.

2. My program runs, but I don't see anything that goes on. It telnets into a Unix box, inputs a username, an "enter", and a password, then "enter", and runs a command, but since it's all on a socket, I don't see anything in my program window. How do I echo, using cout, the Unix screen?

THANKS IN ADVANCE!! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top