|
-
Feb 14th, 2003, 05:51 PM
#1
Thread Starter
Member
Winsock
VB Code:
server.GetData sckbuffer
If InStr(sckbuffer, "ENCRYPTION_ON") Then
sckbuffer = "# ENCRYPTION_OFF" & Chr(13) & "##"
server.SendData "# ENCRYPTION_OFF" & Chr(13) & "##"
End If
client.SendData sckbuffer
End Sub
any one any idea why this code doesnt function?
Last edited by Joeheg; Feb 14th, 2003 at 05:54 PM.
-
Feb 14th, 2003, 06:14 PM
#2
Fanatic Member
hehehe, what are you up to? 
basically it reads a chunk of data from the tcp/udp connection, and if it finds an ENCRYPTION_OFF string inside of what it just received, sends a '# ENCRYPTION_OFF ##' back; otherwise just pushes exactly what it received thru (supposedly) another socket.
-
Feb 14th, 2003, 06:17 PM
#3
Thread Starter
Member
well, when the server sends ENCRYPTION_ON i need the server control to send ENCRYPTION_OFF and hte client control to send ENCRYPTION_OFF.
-
Feb 15th, 2003, 08:00 AM
#4
Thread Starter
Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|