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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Detecting data in winsock

Status
Not open for further replies.

GDX

Programmer
Jun 4, 2000
186
US
I have a small problem i have to allow people to telnet and use the following format:

<Auth>Username,Password</Auth>

I would like to detect when the user hits ENTER in there telnet client? How can I do this? After that i will do the rest, like get rid of the <Auth> and </Auth> and parse the data but what i need is to detect when they hit enter under the DataArrival Method. Thanks. Gordon R. Durgha
gd@vslink.net
 
It seems like you need to code validation of keystroke in the client application. When a vbCR is detected, invoke the Send method of the client WinSock.

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top