https://github.com/IshayKom/RCProject Classes As Shown in the eclipse package manager (I don’t really deal with github so I don’t know how to upload classes correctly) I got an error running my …
Tag: sockets
Java client hangs if I open two clients at once
I’m trying to build a chat-like thing, and the idea is that whenever someone types, it gets sent and printed on every client connected. If I only open the server and one client, everything runs …
Java: Start a socket server class with the port as an argument
So i have a load balancer and when a server is full of clients i want to create a new multithread server programmatically by passing the server port as an argument. This is how im trying to start a …
send and recieve Socket Datagram
I am doing a server and client socket datagram. The client connects to the server and you need to write in the client a string that contains Hello or hello. When the server detects a string with hello …
Java Server Socket Socket program stuck while reading
i have 2 programm one is a server and the other the client , i have some other class who represent geomtric shape. In the client with the scanner the user write the caracteristics of the shape width,…
Send a 2D Matrix from Client to Server in Java using TCP connection (Socket Programming)
I need to send a 2D matrix from the client to the server-side using the following packages: import java.io.DataInputStream; import java.io.DataOutputStream; import java.net.Socket; I have read a …
Send Object Over Java Socket
I have a class name player public JLabel imagen; public String Nombre; public Player(int x, int y, int width, int height, Icon icono, String name){ imagen = Player(x, y, width, height, icono); …
Socket.close stuck for 15 minutes
I’ve developed my own MMORPG game client and server using SSLSockets. New connections get a dataoutput/input stream in their own threads. In my main thread loop, I have a method that goes through …
File corrupted while sending through socket
I am just trying to send some files from a socket and i am able to send those files without any interruption: also whether the size file is small or large that does not matter it sends like a charm. …
ISP or Windows firewall blocking UDP connection
I have made a online player game in which i use TCP connection between server and client, and UDP (DatagramSocket) between clients (its a real time game). My problem is that i can play with some …