D
D
Don_Diego2019-01-29 14:29:48
Java
Don_Diego, 2019-01-29 14:29:48

How to make a TCP IP client in Java?

Good day!
I really need help in Java, because had nothing to do with her.
There is a server on a real machine, let's say "127.0.0.1:11850". Did it.
You need to create a client on a virtual machine (for example, VM VirtualBox with Android OS) and create a TCP IP connection.
I'm trying to make in Android Studio. There are not many examples of this method on the Internet. I found on Habré what I need, but there is an article for more advanced users.
Actually the question is - is there anywhere to read about sockets in Java with specific examples? Or if it's not such a big code - can you poke your finger?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
al_gon, 2019-01-29
@al_gon

For example: https://www.baeldung.com/a-guide-to-java-sockets

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question