Hello everyone,
Today i've needed to create a TCP socket server, i've chosen to use B4J instead of VB.NET.
I searched many "How to...TCP..." threads on the boards but i'm very confused. This is the first time that i need to use server side socket.
I tried to write a little server with jNetwork library, i manage new connection and i save the client socket in a list. I have to read and write data from/to specific clients one by one, how can i do that?
I see that many people use jServer instead jNetwork.. I have to exchange packets through many many clients to the server, some clients are mobile devices and some other are security control panel (something like the raspberryPI).
Can someone explain me the differences between use jServer instead of jNetwork? jServer create a web server, do you suggest me to use that? i'm really confused.
Thanks in advance.
Best regards,
Marcello
Today i've needed to create a TCP socket server, i've chosen to use B4J instead of VB.NET.
I searched many "How to...TCP..." threads on the boards but i'm very confused. This is the first time that i need to use server side socket.
I tried to write a little server with jNetwork library, i manage new connection and i save the client socket in a list. I have to read and write data from/to specific clients one by one, how can i do that?
I see that many people use jServer instead jNetwork.. I have to exchange packets through many many clients to the server, some clients are mobile devices and some other are security control panel (something like the raspberryPI).
Can someone explain me the differences between use jServer instead of jNetwork? jServer create a web server, do you suggest me to use that? i'm really confused.
Thanks in advance.
Best regards,
Marcello