hi


i have program in clien and program in server

the connected by winsock


i want send more than one variable by

winsock1.SendData


how i can send it

its from diffrent type

x as integet

s as string

y as string

i want send x , s and y

and how i can get it

??

:)

Recommended Answers

All 5 Replies

winsock1.SendData cstr(x) & s & y & vbcrlf

please

cstr (x) of type what

and how i get these variables


??

do u mean casting x to string


???


how i get them again
??

what are you talking about? Did you try it?

no ,

but i dont know how i get it

winsock.GetData ???? how ??

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.