Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Realbasic > sendback data
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3277 of 3314
Post > Topic >>

sendback data

by Larry <dontmewithme@[EMAIL PROTECTED] > Oct 28, 2007 at 11:48 PM

Hi,

   the following is the scenario: my server app fires an TCPScoket 
whenever a client wishes to connect...then i catch client data in the 
dataavaible sub:

sub dataavaible()
{
  Dim CRLF As String
  
  app.Update_EditField(me.ReadAll)
  
  CRLF = chr(13) + chr(10)
  
  // me.Write "HTTP/1.1 200 OK" + CRLF + CRLF + "Hello World!!!"
}

Now I'd like to send Editfield.text data back to the client...but only 
when I press a push button...how would I go about doing that??

do I have to do:

while (window1.pushbutton pressed)

   me.Write Editfield1.text

wend




 2 Posts in Topic:
sendback data
Larry <dontmewithme@[E  2007-10-28 23:48:24 
Re: sendback data
Joe Strout <joe@[EMAIL  2007-10-28 20:22:23 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 3:32:02 CDT 2008.