Yes my problem is that im not eaxctly sure how networking works, when i write
so.readObject();
does it wait for and object to be sent or does it continously being checked?
alos when i write sp.writeObject(object);
i wont send for some reason it give errors why is thisa caue i have sen up my...
WEll u see i can connect alright i know that they connect, but when i goto my method in setting up my input and oput streams as below i dont work
try{
so = new ObjectInputStream(MWSocket.getInputStream());
sp = new ObjectOutputStream(MWSocket.getOutputStream());
}catch(Exception...
OK im a Begginer programmer working on my school assignment and my teacher knows nothing about java, my problem is when i create my class PlayerInfo like this
public class PlayerInfo{
Then in my main program i use it like this
PlayerInfo player = new PlayerInfo();
also later on in the program...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.