Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
socket problem - extracting client IP
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
dvpatilin
New Member
Join Date:
Aug 2006
Posts:
5
#1
socket problem - extracting client IP
Aug 29 '06, 10:30 AM
how to extract client ip address from client socket at server side in c# ? :confused:
joedeene
Contributor
Join Date:
Jul 2008
Posts:
579
#2
Aug 12 '08, 06:11 PM
well, if you made the client app yourself, then you could have it check its own ip and then send it
Comment
Post
Cancel
Plater
Recognized Expert
Expert
Join Date:
Apr 2007
Posts:
7872
#3
Aug 13 '08, 01:35 PM
So let me see if I can clarify this.
In your server application you have a socket connection with a client.
You want to get the connected client's IP address?
[code=c#]
IPAddress ipaddy=((IPEndP oint)mySocket.R emoteEndPoint). Address;
[/code]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment