unity3d - Unity giving errors that aren't there? -


i using unity connect server using code attached button click, getting lot of errors there aren't semicolons? why getting these errors?

public function btn_connect() {      string message;    bufferedreader infromuser = new bufferedreader(new inputstreamreader(system.in));    socket clientsocket = new socket("localhost", 5552);    dataoutputstream outtoserver = new dataoutputstream(clientsocket.getoutputstream());    bufferedreader infromserver = new bufferedreader(new inputstreamreader(clientsocket.getinputstream()));    message = infromserver.readline();    system.out.println("from server: " + message);    clientsocket.close(); } 


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -