pregunta preguntona, acerca de el resultado de remoteAddress()

Steven Schveighoffer schveiguy at gmail.com
Wed Jun 14 20:17:01 UTC 2023


On 6/14/23 3:50 PM, Danico wrote:
> que significa los ultimos numeros de 192.168.0.13:50732 , cuando hago un 
> remoteAddress() y en un servidor socket?

Those last numbers are the port on the remote machine.

It's how the system knows which socket to forward the connection to (any 
system can have thousands of currently open sockets).

https://en.wikipedia.org/wiki/Port_(computer_networking)

-Steve


More information about the Digitalmars-d-learn mailing list