so y does everyone use 8080 wouldnt that mess up alot of data.
It depends on what your doing. Some people want to write a web server, web pages access port 80, and in some cases 8080, so you would want a server to respond to that port.
In your case, just pick a port, do a google search on it, if you dont find alot of results (or bareable results), than use the port.
and if i have 2 vars to send do i have to write to different writestrings codes or just comma them.
Seperate writes must be made. Think of it as a buffer. You send stuff into the buffer and it gets sent as blitz sees fit.
On the recieving end, the data will pile up (buffer). So before you read data from the stream, check it for a EOF first to make sure it isnt empty.