When i send a command to a terminal, there are chances that more than more reply are sent.
Winsock_DataArrival Triggers just once when first reply is sent. Its is not triggering when second reply is sent by the terminal.
I telnet to the terminal and can see multiple replies coming through.
DataArrival is event is just being triggered once. I dont know what am i doing wrong.
Ex: If i send ATE0 .. i get back just ATE0 and not OK which is followed.
I am not much familiar with winsock in vb6 and i cant upgrade to .net at this point.
I think it can create problem with Windows Vista and Windows 7.
Also this should make sure that telnet service is installed on every machine using this.
Last edited by chintan_1671; October 10th, 2011 at 10:07 AM.
Glad you go it fixed, I was about to suggest something to that effect. I have been using the Winsock control in a commmerical program I created for over 10 years now and never had an issue with it.
Bookmarks