yeah i ran the code and only could get that bindexception if i tried running it again with 1 instance of it already running...because of course the first instance was listening on the port already
Type: Posts; User: derekxec
yeah i ran the code and only could get that bindexception if i tried running it again with 1 instance of it already running...because of course the first instance was listening on the port already
works fine for me...you also might want to do s.close(); in the server to close the server socket too and in the client you might want to use a try catch or throws or something
you sure you dont...