How to get client IP Address ?
Visual Basic
3
Posts
3
Posters
0
Views
1
Watching
-
I developing a window application using vb.net, i need to do a write log function to keep track the client trasaction, how do i get the client pc's IP Address ?
Best regards, Chee ken
-
I developing a window application using vb.net, i need to do a write log function to keep track the client trasaction, how do i get the client pc's IP Address ?
Best regards, Chee ken
That depends on your server. Either the client gets its own IP address and sends it in the log message or your server code will have to determine it, but how that's done depends on what type of server your writing. Is this a Remoting component, Web Service, TCP/IP sockets-based server, ...?
Dave Kreskowiak Microsoft MVP - Visual Basic