Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Shame

Name: Anonymous 2008-12-19 16:55

Hey /prog/

Bear with me here, I have to help a friend with VB .NET stuff, and I can't remember this shit for the life of me.

In a client/server application, how do you send a server-side variable to the client?

Name: Anonymous 2008-12-19 16:57

Over the network.

Name: Anonymous 2008-12-19 17:04

$_GET['query_string']

Name: Anonymous 2008-12-19 18:00

Using packets.

Name: Anonymous 2008-12-19 18:39

I assume he's using TCP. If he's just sending a primitive type, he can use BitConverter.GetBytes(primitive) to get an array of bytes, then send that via the .Send method of the socket.

Name: Anonymous 2008-12-19 18:40

>>5
On the client end, he should use BitConverter.ToXXXX(array) to get back the primitive from the byte array.

Name: Anonymous 2008-12-19 19:27

Print "Parse error: illegible server variable"
end

Name: Anonymous 2008-12-19 19:41

hello im patrick the gingor join my community of haxxors if you payme enough i will give you access to a secret area of [spoiler]/reddit/[/spoiler] ;)

Name: Anonymous 2008-12-19 20:58

>>8
hello im patrick the gingor join my community of haxxors if you payme enough i will give you access to a secret area of spoilers ;)

Name: Anonymous 2008-12-19 21:16

hello im [spoiler] the bbtag join my community of bbcode if you mouseoverme i will give you access to a secret area of text ;)

Name: Anonymous 2008-12-19 21:25

http://ubuntuforums.org/showthread.php?t=21363

"Scheme is very cool, and lots of fun to learn. I highly recommend the SICP book, it has lots of problem solving techniques which you don't tend to see in C++ books."

Name: ​​​​​​​​​​ 2010-09-08 19:24

Name: Anonymous 2011-02-03 1:09

Name: Anonymous 2011-02-03 2:03

Don't change these.
Name: Email:
Entire Thread Thread List