PC Review


Reply
Thread Tools Rate Thread

How can i get the client's ip use tcpclient?

 
 
pam
Guest
Posts: n/a
 
      21st Aug 2006
I have created a connection on client and server.

Dim Client As TcpClient = Listener.AcceptTcpClient

but there is no property to get the client's ip?

how could I do it?

 
Reply With Quote
 
 
 
 
Terry Olsen
Guest
Posts: n/a
 
      21st Aug 2006
Look at the TcpClient.RemoteEndPoint property.

"pam" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I have created a connection on client and server.
>
> Dim Client As TcpClient = Listener.AcceptTcpClient
>
> but there is no property to get the client's ip?
>
> how could I do it?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
C# FTP client using TcpClient class -- please help almurph@altavista.com Microsoft C# .NET 5 6th Mar 2008 02:40 AM
How to Get IP address of the Client When they are connected using TCPClient itsupport1 Microsoft VB .NET 2 2nd Nov 2004 09:08 PM
Get Client Socket from TcpClient Joshua Ellul Microsoft Dot NET Framework 1 21st Oct 2004 06:52 PM
Getting IP of Client with TcpClient Kintwa Microsoft VB .NET 1 21st Jun 2004 09:32 PM
TCPClient and Get the IPAddress of the Client =?Utf-8?B?QnJpYW5H?= Microsoft Dot NET Framework 5 4th Feb 2004 10:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:23 PM.