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!

Sending data.....

Status
Not open for further replies.

22255565

Programmer
Jun 13, 2003
4
PT
Hi :)

I'm using client and server sockets in my program, and I want to send the value of some vars and the name of some procedures to be executed in the server, but if i send it as "cliente.socket.sendtext(string)", how I will work with the received information in the onread procedure , because I need to send ,more than one var from diferent types such as string and integer.My difficult is how to send more than one and to treat the recieved text.

Thanks
 
Send as string value pairs:
Code:
var1=I am a duck#d#avar2=12345#d#a

Or go whole hog and do XML.

Cheers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top