BestTechie Forums: Retriving Client Address C# - BestTechie Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Retriving Client Address C#


#1 User is offline   iccaros 

  • UberTechie
  • Group: Linux Experts
  • Posts: 1292
  • Joined: 31-August 04
  • Location:Great State of Washingtion
  • Operating System:Gentoo,Iccaros-Linux(of course),Slackware,GentooX,Red Hat, Windows (3.1 to VISTA BETA), MAC OSX (10.4 currently),LFS, Solaris 8,9,10, Trusted Solaris, FreeBSD, OPENBSD, NETBSD

Posted 12 May 2007 - 11:04 AM

I am wondering if anyone has a method that will allow my server application to capture the ipaddress of the connecting client. the application is in C# and will run on Windows and Linux with Mono.

This is not a general Web application so there is no worry of spoofing, as it will be run in a lab, but will not be run in my lab when done.
the application needs the ipaddress and will setup ports for async reconnect to pass back data.

thanks

#2 User is offline   jcl 

  • UberTechie
  • Group: Linux Experts
  • Posts: 1304
  • Joined: 30-August 04
  • Location:The Internet
  • Operating System:Arch

Posted 13 May 2007 - 12:10 AM

((IPEndPoint)socket.RemoteEndPoint).Address.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users