All Questions
6 questions
0
votes
0
answers
546
views
java socket io server doesn't receives specific events from client
I have a simple java project in IDEA, with simple socketio server based on com.corundumstudio.socketio.SocketIOServer, and simple client. When i try to connect client to server it connects ...
1
vote
2
answers
226
views
Client-Server Socket Programming Java
I'm new to socket programming and i'm trying to get my client-program to retrieve a url from a document on my desktop, send this url to my server-program, and get my server-program to send back the ...
1
vote
1
answer
349
views
How to read data stream ignoring the data type in Java
I am writing a client-server application in Java. The procedure is as following:
A client send a message of HTTP format to a registration node with
a request line a number of header lines
a blank ...
3
votes
1
answer
2k
views
What can cause “ IO error java.net.SocketException: select failed ”?
I have a server program running on my laptop, same router and same code. It work's fine and clients can connect. However when I copied the workspace to my PC and when I run it, I get this nonsense:
...
0
votes
1
answer
6k
views
network byte order to host byte order in java
I'm stuck with interpreting a response from a C server to my java application. Hoping that the C server is responding to my java in BIG_ENDIAN format, my question is how would I convert the response ...
1
vote
2
answers
2k
views
problem with sending xml via telnet and socket
So, I pass data in xml via socket. When I have run server side, I open cmd and execute command "telnet localhost 999". In this moment new thread are started and in this thread I pass input stream in ...