Server-Client

shadow

Active Member
Licensed User
Longtime User
Hello
Should I create an application that functions
from server and is accessible via the Internet,
the server sends data to the client after a
number of seconds. The client in turn
sends the response has been received.
Dll that use?
 

Basic4Life

Member
Licensed User
The Network library offers client server communication. But as far as I know, it only works on a local network. You might be able to get it to work with setting up port forwarding in your router.
 
Last edited:

shadow

Active Member
Licensed User
Longtime User
Thanks for the reply.
In fact, I tried with the dll but in Network Local Area Network
works through the internet I can not make the
connection.
 

shadow

Active Member
Licensed User
Longtime User
Hello
I started to try the library network, after
I created the server side to determine the client that connects
course, giving each client an identifier?
By responding only to that Clinet Server?
 

rbsoft

Active Member
Licensed User
Longtime User
On the server side each client would get its own Winsock # to identify it. There are many examples for simple chat programs that can handle multiple clients in almost any programming language. It is no problem to connect to these from an B4A project using the Network Library.

What kind of environment are you using on the server side?

Rolf
 

rbsoft

Active Member
Licensed User
Longtime User
Ah, sorry, had overlooked that.

Nethertheless I had done this on WinMobile in the past too - just not with B4PPC. Wish I would have known that at that time.

Rolf
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…